Code:
//from the command line, set a USB serial adapter, then interact, ctrl-c to exit stty -F /dev/ttyUSB0 ospeed 57600 ispeed 57600 raw cat /dev/ttyUSB0 & cat > /dev/ttyUSB0
//from the command line, set a USB serial adapter and send and receive data stty -F /dev/ttyUSB0 ospeed 57600 ispeed 57600 raw echo -ne '?' > /dev/ttyUSB0 cat -v < /dev/ttyUSB0+
file: /Techref/os/linux/serialcmds.htm, 0KB, , updated: 2017/9/27 10:37, local time: 2024/11/8 15:56,
owner: JMN-EFP-786,
18.226.163.103:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/linux/serialcmds.htm"> Linux Command line Serial Communications</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.