Skip to content

Commit 543c7fe

Browse files
committed
Update cheat-sheet.md
1 parent 0c458e7 commit 543c7fe

File tree

1 file changed

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

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ The Nano ESP32 board features 3 hardware serial ports, as well as a port exposed
419419
- `Serial1` is the second UART port, which can be assigned to any free GPIOs.
420420
- `Serial2` is the third UART port, which can also be assigned to any free GPIOs.
421421

422-
### Native USB
422+
### Serial (Native USB)
423423

424424
Sending serial data to your computer is done using the standard `Serial` object.
425425

@@ -430,7 +430,9 @@ Serial.print("hello world");
430430

431431
To send and receive data through UART, we will first need to set the baud rate inside `void setup()`.
432432

433-
### UART
433+
### Serial0 (UART)
434+
435+
***Please note: `Serial0` is shared with the bootloader/kernel, which prints a few messages at boot/reset, and in the event of a crash, the crash dumps is printed via FreeRTOS on this serial port. For these reasons, you may want to use the `Serial1` or `Serial2` ports to avoid any interference ([read more](#serial1--serial2-uart)).***
434436

435437
The default pins for UART communication on the Nano ESP32 are the following:
436438

@@ -463,7 +465,7 @@ And to write something, we can use the following command:
463465
Serial0.write("Hello world!");
464466
```
465467

466-
### Serial1 & Serial2
468+
### Serial1 & Serial2 (UART)
467469

468470
The Nano ESP32 features 2 additional hardware serial ports that have no pre-defined pins, and can be connected to any free GPIO. Therefore, to use them, their TX and RX pins need to be manually assigned.
469471

0 commit comments

Comments
 (0)