06-20-2012
7,
0
Join Date: Jun 2012
Last Activity: 13 November 2012, 4:36 PM EST
Posts: 7
Thanks Given: 0
Thanked 0 Times in 0 Posts
Help with C in linux Ubuntu 12.04
I'm trying to use the sytem() to send a terminal command. I haven't been able to run the program. Can someone show me how am I suppose to write this command: (echo "#o1" > /dev/ttyUSB1). Is there a better way to use the command on the C file so that when I call the file and run it on the terminal it recognize and execute that command?
Last edited by radoulov; 06-20-2012 at 06:24 PM..