lesson 5 typo

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
bearsinthesea
 
Posts: 16
Joined: Thu Jul 31, 2008 6:05 pm

lesson 5 typo

Post by bearsinthesea »

in lesson five, in the example
"Modify the sketch so that the LED blinks 5 times a second (100ms on and 100ms off) when the button is pressed and is completely off when the button is released."

digitalWrite(ledPin, LOW); // turn LED on

should be

digitalWrite(ledPin, LOW); // turn LED off

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Starter Pack”