On 02/19/2014 11:17 AM, ss sefat wrote: > i connected the arduino usb with bbb. bbb recognize arduino as /dev/ttyACM0 > . now i want to communicate with arduino using serial communication in c++ > . i tried several times using fopen() .bt bt bbb cannot open "/dev/ttyACM0" > for writing. can any one give me a simple demo code which completely works > without any error .plz help me. thanks in advance .
http://tldp.org/HOWTO/Serial-Programming-HOWTO/ Alternatively, you could use python: http://pyserial.sourceforge.net/ if using debian/ubuntu on the BBB, install the python-serial or python3-serial package. regards, Nuno -- http://aeminium.org/nuno/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
