Documentation ¶
Overview ¶
Usb 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 usbserial example which does the same in much simpler way, using the usbserial package.
Click to show internal directories.
Click to hide internal directories.