Autocompletion, code navigation, and a live debugger are part of Arduino IDE’s newer editing environment. The IDE lets you write sketches, compile them for a selected board, and upload them from Windows.
Sketch editor and build
Arduino projects are organized as sketches. The editor is where you write and change the code; Verify compiles the current sketch, and Upload sends the compiled program to the connected board. The editor’s completion suggestions and code navigation make it easier to work through sketch code as it grows.
A sketch commonly uses setup() for initialization and loop() for work that repeats while the board is running. Selecting the target board and its connection lets the IDE compile for that hardware and send the upload to the right device.
Boards and libraries
Boards Manager handles board platforms, which provide the files Arduino IDE needs to compile for particular boards. Library Manager provides a way to add libraries to a sketch when it needs code for a component or task.
- Use board platforms to add support for board families.
- Add libraries for reusable functions and hardware components.
- Open example sketches to see how a library or feature is used.
Serial tools and debugging
The Serial Monitor displays text sent over a board’s serial connection and can send input back to the sketch. It is commonly used to inspect values printed by code while a project runs. The Serial Plotter presents serial data as a graph, which can make changing sensor readings easier to follow.
The live debugger supports stepping through code and inspecting program state on compatible hardware. Availability depends on the board and debug setup; ordinary sketch compilation and upload do not require this debugging workflow.
Pros
- Compiles sketches and uploads them to selected Arduino boards
- Editor includes autocompletion and code navigation
- Built-in live debugger and serial tools
Cons
- Hardware debugging requires a compatible board and debug probe
System requirements: Windows 10, Windows 11 · 64-bit only
What is an Arduino sketch?
A sketch is an Arduino program written and managed in the IDE. The IDE compiles it for a selected board and can upload it to that board.
How do I view messages from a running sketch?
Connect to the board’s serial port and open Serial Monitor. The Serial Plotter can graph serial data sent by the sketch.
What are Boards Manager and Library Manager for?
Boards Manager adds board platforms for compiling to different hardware. Library Manager adds reusable libraries to sketches.


