File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/hardware/03.nano/boards/nano-esp32/tutorials/cheat-sheet Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ void setup() {
412
412
413
413
## USB Serial & UART
414
414
415
- The Nano ESP32 board features 3 hardware serial ports, as well as a port exposed via the USB port .
415
+ The Nano ESP32 board features 3 hardware serial ports, as well as a port exposed via USB.
416
416
417
417
- ` Serial ` refers to the USB port.
418
418
- ` Serial0 ` refers to the hardware serial port (UART), accessible via the board's RX/TX pins (D0, D1)
@@ -479,7 +479,7 @@ Serial1.write("Hello world!");
479
479
Serial2.write("Hello world!");
480
480
```
481
481
482
- - Replace ` RXPIN ` and ` TXPIN ` with the GPIOs you want to assign.
482
+ - Replace ` RXPIN ` and ` TXPIN ` with the GPIOs you want to assign (e.g. ` D4 ` , ` D5 ` ) .
483
483
- You can then use commands such as ` Serial1.write() ` and ` Serial1.read() ` .
484
484
485
485
The ` SERIAL_8N1 ` parameter is the configuration for serial communication.
You can’t perform that action at this time.
0 commit comments