Found 203 Articles for Arduino

Add a new board in Arduino

Yash Sanghvi
Updated on 23-Mar-2021 11:08:49

344 Views

To add a new board in Arduino IDE, go to Tools -> Board -> Boards ManagerIn the window that opens up, search for the board of your interest, click on that board, and click on the 'Install' button. You can even choose to install an earlier version of the board from the versions dropdown (1.1.6 in the image below).Some boards are not directly searchable in the Arduino Boards Manager. Popular examples are ESP32 and ESP8266. In order to install the ESP32 and ESP8266 board in Arduino, the following steps can work (other non-available boards may have similar steps).Step 1: Get ... Read More

Auto-format code in Arduino IDE

Yash Sanghvi
Updated on 23-Mar-2021 11:01:59

3K+ Views

Formatting the code is quite important to make it readable. It is recommended that you properly format the code regularly, and especially before sharing it with someone else.Follow these steps to auto-format code in Arduino IDE −Go to ToolsClick on Auto FormatAlternatively, you can press Ctrl+T on your keyboard. This will format the code and add the correct indentations wherever required.Before Auto-FormatAfter Auto-Format

How to change the baud rate of the Serial Monitor in Arduino?

Yash Sanghvi
Updated on 23-Mar-2021 10:54:01

5K+ Views

In order to change the baud rate of the Serial Monitor, go to Tools -> Serial Monitor (or press Ctrl+Shift+M alternatively).Make sure you have a board connected to your PC/Laptop, or the Serial Monitor won't open. Also, make sure that the Port corresponds to the connected board.Once the Serial Monitor is open, you can see the baud rate dropdown at the bottom and select the required baud rate from there.

Advertisements