Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,069 Views

Intel Edison + Grove Starter Kit Plus using C

Jump to solution

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
80 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
81 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
80 Views

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

Reply