Monday, 28 May 2012

USB communications for sky-shell-exec

Send commands to USB port using echo:


  echo "make login" > /dev/ttyUSB0


Read data from serial port using cat :


  cat /dev/ttyUSB0


  cat /dev/ttyUSB0 > file.txt

No comments:

Post a Comment