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.
More faults on this board
Change a value here or click a chip in the code.
Drive an LED on D1 and the module's blue LED on D4. The first lights on HIGH, the second on LOW.
| Pin | Connects to | What it does |
|---|---|---|
D1 | 220 Ω resistor, then the red LED | output, HIGH = on |
D4 | blue LED on the ESP-12E (built in) | output, LOW = on |
GND | LED cathode (short leg) | ground |
Sensors and actuators this board drives, with the real connections.
A 220 Ω resistor gives a red LED about 6 mA from a 3.3 V pin: (3.3 V - 2.0 V) / 220 Ω.
| Part pin | Board pin |
|---|---|
| anode (long leg), through 220 Ω | D1Wire colour orange |
| cathode | GNDWire colour black |
Never connect an LED without a resistor: the pin is rated 12 mA. Blue and white LEDs need about 3 V and stay dim on 3.3 V.