O'Reilly logo

Mastering Arduino by Jon Hoffman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding tabs

As you begin to work with larger and more complex projects, it quickly becomes important to divide your code up into separate workspaces because it makes your code easier to manage. To do this, in both the Arduino IDE and the Web Editor, we can add new tabs to a sketch.

To add a new tab to the Arduino IDE, click on the button with an upside-down triangle in it that is located at the upper right side of the IDE window, as shown in the following screenshot:

In the window that pops up, click on the New Tab option, and you will see an orange bar below the code section of the Arduino IDE windows. In this orange bar, you can name the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required