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/26 02:07,
owner: JMN-EFP-786,
3.142.172.190:LOG IN
|
©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! |
.