Dependancies
Pre-requisites
LED_BUILTIN
is pin 48 as defined in the Arduino variant and schematic.
Alternatively #define LED 5
can be used as well to test a simpler LED.
USB
and UART
Plug into the USB
port and check the addresses
$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbmodem14101
USB
port for example, /dev/cu.usbmodem14101
with USB CDC on Boot
enabled or disabled:
UART
port or TX/RX
with an external UART-to-USB
bridgeUSB
portUSB
port.USB CDC on Boot
disabled.Unplug and plug into the UART
port and check the address
$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.SLAB_USBtoUART /dev/cu.usbserial-1410
/dev/cu.usbserial-1410
when plugged into UART
Use this option when using an external power supply for the board.
USB
port of the board to the computer.USB CDC on Boot
disabled.USB
port and into the power supply unit.TX
, RX
and GND
to an external USB-UART bridge connected to the computer.
UART
port and check the address
$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.SLAB_USBtoUART /dev/cu.usbserial-1410
/dev/cu.usbserial-1410