Problem
LED output stays off or appears stuck.
Check polarity, current-limiting resistor, pin mode, and the selected output pin.
beginner · 25 Sept 2026
Difficulty
beginner
Guide level
Sections
3
Structured content blocks
Topics
3
Linked learning concepts
Related links
5
Next steps and references
LED output stays off or appears stuck.
Verify the LED anode and cathode are not reversed. Confirm the resistor is in series, the selected pin is configured with pinMode(..., OUTPUT), and the code writes to the same pin that is wired on the canvas.
Use the related component or tutorial links below, then test the fix inside the simulator.
Review the checks on this page, confirm the wiring and code, then open the simulator to reproduce the issue safely.
Next step
Use the simulator to recreate the issue, verify your wiring and code, then test the fix safely in the browser.