Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9868 Discussions

Intel Edison + Grove Starter Kit Plus using C

idata
Community Manager
1,088 Views

Is it possibile to read from sensors from Grove Starter Kit Plus connected to Intel Edison using C? Every tutorial talks about C++, Arduino or JS.

Thanks

0 Kudos
1 Solution
idata
Community Manager
99 Views

HelloPawek,

 

 

Yes, indeed you can interact with those sensors using C. The only detail that you might encounter is, as you mention, that you might not find examples for them. However, if they are based on SPI, I2C, UART, etc, then you should be able to use mraa to interact with them. I'd suggest you to check mraa's C examples. You can find them in https://github.com/intel-iot-devkit/mraa/tree/master/examples.

 

 

-Peter.

View solution in original post

2 Replies
idata
Community Manager
100 Views

HelloPawek,

 

 

Yes, indeed you can interact with those sensors using C. The only detail that you might encounter is, as you mention, that you might not find examples for them. However, if they are based on SPI, I2C, UART, etc, then you should be able to use mraa to interact with them. I'd suggest you to check mraa's C examples. You can find them in https://github.com/intel-iot-devkit/mraa/tree/master/examples.

 

 

-Peter.

View solution in original post

idata
Community Manager
99 Views

Thank you. I figured out earlier how to do this! Anyway I appreciate your support.

Reply