Troubleshooting guide

LED is not blinking

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

Problem

LED output stays off or appears stuck.

What to check

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.

Next step

Use the related component or tutorial links below, then test the fix inside the simulator.

FAQ

How do I debug "LED is not blinking" in Ayantrik Lab?

Review the checks on this page, confirm the wiring and code, then open the simulator to reproduce the issue safely.

Next step

Reproduce and fix it in the lab

Use the simulator to recreate the issue, verify your wiring and code, then test the fix safely in the browser.