👩💻 Join our community of thousands of amazing developers!
Arduino Serial Monitor is a tool that can be used for debugging or interacting with our Arduino board. More specifically, it allows us to read and write data to a serial port. For our sketch to be able to use the serial monitor, we need to use Serial.begin and specify a baud rate. For example: 1 Serial.begin(9600); The valid baud rates vary depending on the board we are using. 9600 is a safe value that works on most boards. Reading The first thing we want to do is print to the serial port. For ...