Closed stevekirkby closed 4 months ago
In the old version, digitalWrite High means LED is turned ON, digitalWrite LOW means LED is turned OFF. In the latest version, digitalWrite LOWmeans LED is turned ON, digitalWrite HIGH means LED is turned OFF.
I'm sorry if this has caused you any confusion.
When GPIO 2 is HIGH, IO2 is LOW, so the earlier IO2 blink sketch cannot be used to make the LED blink correctly in this sketch.
The Blink files in each starter kit and the PDF should be updated.
Changes: LED_BUILTIN changed to PIN_LED digitalWrite High comment corrected to state LED is turned ON digitalWrite LOW comment corrected to state LED is turned OFF
I've also altered the delay values (1500, 500) to emphasie the HIGH/LOW states.
Apologies, I'm not very good at using github. I should probably inform you of these issues in a better way.