How can my C program running on the linux side of YUN, communicate with my program running on the Arduino side of YUN?
I'm trying everything, but I dont see how to do it.
They have examples of how to communicate using browser, but nothing on how to communicate from within the device itself.
Is there a command line script I can call from inside C program to pass data to Arduino from Yun linux? Seems kind of crazy it can be done from a browser over the internet, but it came comminucate with itself from a program running on the board.
Open a FILE* for /dev/ttyATH0; the 'other side' (the Arduino side) should read and write from/to the Serial stream. The Linux side should do the same with its FILE* pointer.
JosAH:
Open a FILE* for /dev/ttyATH0; the 'other side' (the Arduino side) should read and write from/to the Serial stream. The Linux side should do the same with its FILE* pointer.
kind regards,
Jos
Hi, i've a similar problem. I've a 'C' script that run on Linux Linino and i will send the output of this on the arduino script... How can i do this?