1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Merge pull request #2588 from jogo-/patch-1

Fix typos in BlinkWithoutDelay.ino
This commit is contained in:
Federico Fissore 2015-01-30 10:20:09 +01:00
commit 70e3fb1cc5

View File

@ -1,6 +1,6 @@
/* Blink without Delay /* Blink without Delay
Turns on and off a light emitting diode(LED) connected to a digital Turns on and off a light emitting diode (LED) connected to a digital
pin, without using the delay() function. This means that other code pin, without using the delay() function. This means that other code
can run at the same time without being interrupted by the LED code. can run at the same time without being interrupted by the LED code.
@ -28,7 +28,7 @@ const int ledPin = 13; // the number of the LED pin
// Variables will change : // Variables will change :
int ledState = LOW; // ledState used to set the LED int ledState = LOW; // ledState used to set the LED
// Generally, you shuould use "unsigned long" for variables that hold time // Generally, you should use "unsigned long" for variables that hold time
// The value will quickly become too large for an int to store // The value will quickly become too large for an int to store
unsigned long previousMillis = 0; // will store last time LED was updated unsigned long previousMillis = 0; // will store last time LED was updated