Simulation
Run and step through programs, change virtual inputs, and understand what the model represents.
Control execution
The playback strip is below the editor and above the circuit: Run/Pause, Stop, Step, then Reset. Status and the step count appear on its right. Hover over an icon to read its label. Computer sound controls are in Settings → Sound.
| Control | Action |
|---|---|
| Run / F5 | Start the current program; pause while it is running |
| Resume / F5 | Continue a paused run |
| Step / F6 | Execute one step |
| Stop / F8 | Stop virtual execution |
| Reset (circular arrow) | Prepare the program again from the beginning |
Opening a lesson does not run it. Editing a running program stops the old execution; the next Run uses your edited program. In the Python view, the editor scrolls to keep the running line visible. It does not move your cursor, selection, or undo history. Pause freezes virtual time, including event timing. Turning virtual power off resets execution and virtual outputs.
If the blocks cannot run, the message names the problem: a missing Start (Main) block, an extra Start (Main) block, or blocks that are not connected to Start. Use only one Start (Main) block and attach the other blocks under it.
Change virtual inputs
Blue outlines and action hints identify controls you can operate. Gray displays show values or state set by the program.
| Input | How to use it |
|---|---|
| Pushbutton | Press and hold with the pointer, Space, or Enter |
| Slide / toggle switch | Click or drag to keep the selected state |
| Potentiometer | Drag around the knob to change its value |
| Ultrasonic target | Move the wooden target to change distance |
| External digital input | Choose LOW or HIGH for an input-edge experiment |
| Sensor slider | Adjust the displayed virtual value |
Use Tab to select controls. Arrow keys adjust values, Shift makes larger changes, and Home / End choose limits. Escape cancels a drag. The range inputs remain available as an alternative to diagram manipulation.
Switch style is a session setting; it is not stored in the Python file. All these controls supply virtual inputs, not readings from a physical board.
Read the outputs
A completed program does not necessarily turn everything off. LED state and servo targets can remain at their last commanded values. Wait delays later instructions; it does not switch outputs off. A buzzer note can continue during a wait. The School Bell melody uses its own sequence timing.
The LCD shows up to 16 printable ASCII characters on each of two lines. Motor movement shows commanded direction and PWM output, not measured RPM. Virtual servo movement shows a target model, not physical position feedback.
Understand the limits
The diagram illustrates connections and behavior for teaching. It does not calculate electrical current, voltage, loads, inertia, collision clearance, or physical stopping distance. Do not infer physical connector order from artwork.
Run, Pause, Stop, Reset, New, Home, closing the app, and removing the registered USB are not physical emergency-stop controls. Firmware already uploaded to a board runs independently of this virtual experiment.
Before connecting hardware, read Controller board and the relevant component guide. If the virtual experiment reports an error, see Troubleshooting.