Documentation
¶
Overview ¶
The uart-echo command shows the ReadWriter interface implementation of the CH347 UART by doing a simple echo test.
How to test on linux:
Connect your other USB TTL as follows:
- CH347 UART1 USB to TTL converter
- TX -> RX
- RX -> TX
- GND -> GND
On the first terminal, set baud rate and start reading to see the input:
stty -F /dev/ttyUSB0 115200 -echo
cat /dev/ttyUSB0
Start echo example with `go run` etc.
On the second terminal, send whatever you like to be seen on your first terminal:
echo "Whatever" > /dev/ttyUSB0
Click to show internal directories.
Click to hide internal directories.