Loading the figure…
Stopped · Your code isn't running yet. Until you press Run, the board runs the program already on it.
Nothing printed yet. Press Run.
Not checked yet
Run your code to check it. The checks replay a fixed script on a virtual clock, so the same code always gets the same result.
Each fault really happens in the simulation. Trigger one, watch the figure, then read why.
Play the world: press, slide and turn the parts while the code runs.
Change a value here or click a chip in the code.
A potentiometer on GPIO1 sets the brightness of the LED on GPIO4. The ESP32-S3 reads the wiper with a 12-bit ADC and drives the LED with LEDC PWM.
| Pin | Connects to | What it does |
|---|---|---|
GPIO1 | Potentiometer wiper | Analog input |
GPIO4 | 330 Ω, then the LED | PWM output |
3V3 | One end of the potentiometer | 3.3 V reference |
Sensors and actuators this board drives, with the real connections.