@@ -11,23 +11,45 @@ This software is provided without warranty, according to the MIT License, and sh
1111Raspberry Pi Pico Pinout
1212------------------------
1313
14+ UART0:
1415| Raspberry Pi Pico GPIO | Function |
1516| :----------------------:| :---------:|
16- | GPIO0 (Pin 1) | UART0 TX |
17- | GPIO1 (Pin 2) | UART0 RX |
18- | GPIO2 (Pin 4) | UART0 CTS |
19- | GPIO3 (Pin 5) | UART0 RTS |
20- | GPIO4 (Pin 6) | UART1 TX |
21- | GPIO5 (Pin 7) | UART1 RX |
22- | GPIO6 (Pin 9) | UART1 CTS |
23- | GPIO7 (Pin 10) | UART1 RTS |
24-
25- Optional Hardware Flow-control
17+ | GPIO0 (Pin 1) | TX |
18+ | GPIO1 (Pin 2) | RX |
19+ | GPIO2 (Pin 4) | CTS |
20+ | GPIO3 (Pin 5) | RTS |
21+ | GPIO4 (Pin 6) | DTR |
22+ | GPIO5 (Pin 7) | DSR |
23+
24+ UART1:
25+ | Raspberry Pi Pico GPIO | Function |
26+ | :----------------------:| :---------:|
27+ | GPIO8 (Pin 11) | TX |
28+ | GPIO9 (Pin 12) | RX |
29+ | GPIO10 (Pin 14) | CTS |
30+ | GPIO11 (Pin 15) | RTS |
31+ | GPIO12 (Pin 16) | DTR |
32+ | GPIO13 (Pin 17) | DSR |
33+
34+ Optional Hardware Flow and Line control
2635------------------------------
2736
28- Hardware Flow-control is disabled by default, but can be compiled in by running:
37+ Hardware Flow-control (RTS/CTS) is disabled by default, but can be compiled in by running:
2938
3039``` bash
3140cmake -DFLOW_CONTROL .
3241make
3342```
43+
44+ Line control (DTR/DSR) is disabled by default, but can be compiled in by running:
45+
46+ ``` bash
47+ cmake -DLINE_CONTROL .
48+ make
49+ ```
50+
51+ To enable both:
52+ ``` bash
53+ cmake -DLINE_CONTROL -DFLOW_CONTROL .
54+ make
55+ ```
0 commit comments