0

I tried a basic Blink example and I found a strange case where :

Works Working example

Does not work NOT working example

Can someone explain me what is happening ?

3

It is because the rail in the middle breaks the vertical connections. So the positive leg in the first example is not connected to the negative leg of the LED.

In your second example both the negative leg and the positive leg are connected on the same rail, because of the that the power is not flowing through the LED but directly back to the GND pin of your arduino.

Same for the resistor. Since both legs are connected to the same rail, the resistor has no effect.

  • 2
    Also note that in both cases the resistor will not work. This will damage the led, and possibly the arduino. – Gerben Dec 12 '15 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.