File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
build/shared/examples/02.Digital/BlinkWithoutDelay Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/* Blink without Delay
22
3- Turns on and off a light emitting diode(LED) connected to a digital
3+ Turns on and off a light emitting diode (LED) connected to a digital
44 pin, without using the delay() function. This means that other code
55 can run at the same time without being interrupted by the LED code.
66
@@ -28,7 +28,7 @@ const int ledPin = 13; // the number of the LED pin
2828// Variables will change :
2929int ledState = LOW; // ledState used to set the LED
3030
31- // Generally, you shuould use "unsigned long" for variables that hold time
31+ // Generally, you should use "unsigned long" for variables that hold time
3232// The value will quickly become too large for an int to store
3333unsigned long previousMillis = 0 ; // will store last time LED was updated
3434
You can’t perform that action at this time.
0 commit comments