- Find out the right serial port:
- Connect to the serial monitor of the board:
$ arduino-cli board list
Port Type Board Name FQBN
/dev/ttyUSB0 Serial Port Arduino Uno arduino:avr:uno
$ arduino-cli monitor -p /dev/ttyUSB0 -b arduino:avr:uno
The baud rate is taken from the board definition.