Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ttneh
Novice
1,173 Views

how to use UART in intel edison using arduino ide?

hi all, i am now currently doing a project to get data from DO sensor from atlas scientific using intel edison.

i had refer to the sample code give by atlas scientific by using UART.

but it failed cause it says that doesnt include SoftwareSerial.h. but i have no idea on how to include it.

so is that any alternative ways to read uart from intel edison using arduino ide?

0 Kudos
2 Replies
idata
Community Manager
28 Views

Hi tzeyeow,

Thanks for your interest in the Intel® Edison™ Platform.

Unfortunately, the SoftwareSerial.h is not supported on the Intel® Edison™. Nevertheless, you can still establish a serial communication, here is a sample code that might work for you: .

Also, you could use the mraa library in order to use the Edison UART https://github.com/intel-iot-devkit/mraa/blob/master/examples/c%2B%2B/Uart-example.cpp mraa/Uart-example.cpp at master · intel-iot-devkit/mraa · GitHub .

Here are other threads that might interest you:

-

 

-

Hope this helps, have a nice day!

Best Regards,

 

-Jose P.
idata
Community Manager
28 Views

Hi tzeyeow,

 

 

Do you have any more questions? Please let me know in order to assist you.

 

 

Have a nice day!

 

 

Best Regards,

 

-Jose P.
Reply