Skip to content

Commit 178b7a4

Browse files
committed
Update cheat-sheet.md
1 parent c3b30c9 commit 178b7a4

File tree

1 file changed

+2
-2
lines changed
  • content/hardware/03.nano/boards/nano-esp32/tutorials/cheat-sheet

1 file changed

+2
-2
lines changed

content/hardware/03.nano/boards/nano-esp32/tutorials/cheat-sheet/cheat-sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ void setup() {
412412

413413
## USB Serial & UART
414414

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.
416416

417417
- `Serial` refers to the USB port.
418418
- `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!");
479479
Serial2.write("Hello world!");
480480
```
481481

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`).
483483
- You can then use commands such as `Serial1.write()` and `Serial1.read()`.
484484

485485
The `SERIAL_8N1` parameter is the configuration for serial communication.

0 commit comments

Comments
 (0)