Corrections to Basics examples

This commit is contained in:
Tom Igoe 2010-08-15 14:30:34 +00:00
parent d58ea9b378
commit 02eed8071b
1 changed files with 2 additions and 3 deletions

View File

@ -5,13 +5,12 @@
This example code is in the public domain.
*/
void setup() {
void setup() {
// initialize the digital pin as an output:
pinMode(13, OUTPUT);
}
void loop()
{
void loop() {
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off