- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
It is quite tedious to write all Linux commands from the console window to configure Edison pins, so is there any way to include them in my C program ?
Thank you and best regards,
Anas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi
You could use system calls in your C program to directly run Linux commands. Take a look at http://linux.die.net/man/3/system system(3): execute shell command - Linux man page for a guide to the system command.
Alternatively, you can use mraa http://iotdk.intel.com/docs/master/mraa/ mraa: Main Page . With mraa you don't need to set any muxing, mraa manages the mux configuration.
Sergio
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi
You could use system calls in your C program to directly run Linux commands. Take a look at http://linux.die.net/man/3/system system(3): execute shell command - Linux man page for a guide to the system command.
Alternatively, you can use mraa http://iotdk.intel.com/docs/master/mraa/ mraa: Main Page . With mraa you don't need to set any muxing, mraa manages the mux configuration.
Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
wouldn't be faster or more in Real Time if I configure the ADC myself and as well configuring SPI -rather than using MRAA librabry- to have higher numbers of readings ?
I am basically using The Intel Edison board to achieve analog input reading at least 10000 readings per second , do you think that is possible ?
Regards,
Anas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
There is a discussion of the ADC sampling rate in this thread
Sergio

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page