STANNUM
Open the simulator

Tutorials / Getting started

A tour of the lab

Every area of the screen and what it is for: the top bar, the files and the editor, the canvas and its toolbar, the output panel, and the datasheet card.

The lab with an example loaded. Left: files and editor. Right: canvas. Bottom right: output panel.

The top bar

The top bar: run controls, the two menus, the message area, and the project name and status on the right.
The Project menu, with its keyboard shortcuts.
The Tools menu.

Files and the editor

The Files panel of a multi-file project: folders, and a file selected.

A project is a set of .cpp and .h files. Most start with a single sketch.cpp, and that is fine; bigger ones grow folders. The three small buttons create a file (type a path with slashes, like lib/motor.cpp, to create the folder at the same time), a folder, or import a whole folder from your computer. Renaming and deleting are on each row of the tree.

The editor is deliberately plain: line numbers, Tab to indent (select several lines to indent them together; Esc then Tab leaves the field for keyboard users), and Ctrl+Enter to build and run. When a build fails, the offending lines are marked in red on the line ruler — clicking an error in the build log jumps to it.

The canvas and its toolbar

The canvas toolbar: Edit mode, the tool palette, Tidy up, Fit to view and the zoom controls.
Edit mode off: a clean, read-only drawing. The parts still respond.

The output panel

Two tabs. Serial monitor shows what the firmware prints and sends what you type to it (see The serial monitor). Build log shows the compiler's output, kept from one run to the next; errors and warnings in it are clickable.

The serial monitor while a sketch runs.
The build log after a failed build: the error line is highlighted and clickable, and the summary at the top counts errors and warnings.

The bar between the canvas and the panel — and the one between the editor and the canvas — can be dragged to resize.

The datasheet card

Double-click the title bar of any block and its card opens. The About tab shows the part (a photo or its schematic symbol); the Settings tab holds everything adjustable about it — the color of an LED, the address of an I²C module, the resistance of a potentiometer. Settings change the running simulation immediately.

The About tab of the ESP32 board card.
The Settings tab of a potentiometer.

Theme and shortcuts

Tools → Dark theme switches the lab to dark; the choice is remembered, and the site follows it. Tools → Keyboard shortcuts lists every shortcut in one place:

The keyboard shortcuts window.

See also