Documentation ¶
Overview ¶
Usbserial works as en Echo Server on the second USB serial port, writting back all received data. Additionally, it logs all I/O transaction on the system console (first USB serial port). You can talk to it using a terminal emulator program like Putty (Windows) or picocom (Linux, Mac):
# Show console logs: cat /dev/ttyACM0 # Talk to this program: picocom --imap crcrlf /dev/ttyACM1
Try copy/paste more text to the terminal emulator window to see slightly longer than single-byte transactions.
See also the usb example which does the same but uses the usb package directly.
Click to show internal directories.
Click to hide internal directories.