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

Corrections to Basics examples

This commit is contained in:
Tom Igoe 2010-08-15 14:30:34 +00:00
parent d58ea9b378
commit 02eed8071b

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