Ubuntu / Serial Connection Notes

  • ls /dev/ttyACM*
  • screen /dev/<devicename>
  • sudo screen /dev/ttyACM0 115200

http://mbed.org/forum/mbed/topic/3977/?page=1#comment-19746

  • 1) Install gnu screen.
  • 2) To find the device run: ls /dev/ttyACM*
  • 3) Run screen e.g. screen /dev/ttyACM0
  • 4) To quit: Ctrl-A then type ":quit"
  • 5) Using \n for a new line with printf doesn't automatically give a carriage return. So use \r\n instead.
  • http://mbed.org/users/karls/notebook/linux-serial-terminal/


Please log in to post comments.