Troubleshooting: When the LED Stays Dark
Verify power, ground, and pin numbers, then flip the LED legs if unsure. Confirm resistor value bands. Test with the basic Blink sketch to isolate issues. Post a clear photo of your breadboard, and we’ll spot miswires together.
Troubleshooting: When the LED Stays Dark
Print sensor values, states, and timing marks to track behavior. Timestamp with millis to see ordering. You’ll catch logic errors faster than guesswork. Paste your serial output in the comments, and we’ll help interpret what the data whispers.