Joined: 01 Jul 2003
Location: France, Old Europe
|Posted: Wed Sep 17, 2014 11:00 am Post subject: catching Arduino UNO output
I have Arduino's so-called IDE running and serial comms works fine in both directions with the serial monitor feature. The Uno is logging data to the serial port once a second.
Now I need to get this to a text file
I expected to be able to 'cat' or tail the device but cat return immediately with no output and tail sits there looking dumb, waiting for something that never happens.
ls -ail /dev/ttyACM0
30634 crw-rw---- 1 root uucp 166, 0 Sep 17 12:46 /dev/ttyACM0
Groups are correct and that device name works fine from the IDE. I exited to IDE too just in case there was conflict.
If I restart the IDE I find the Uno is still there merrily chucking out data.
IDE puts this to console when I start up
|Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Am I missing some additional setup commands from bash?
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86