mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-02 13:24:12 +01:00
Corrections to Basics examples
This commit is contained in:
parent
d58ea9b378
commit
02eed8071b
@ -5,13 +5,12 @@
|
|||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
// initialize the digital pin as an output:
|
// initialize the digital pin as an output:
|
||||||
pinMode(13, OUTPUT);
|
pinMode(13, OUTPUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop() {
|
||||||
{
|
|
||||||
digitalWrite(13, HIGH); // set the LED on
|
digitalWrite(13, HIGH); // set the LED on
|
||||||
delay(1000); // wait for a second
|
delay(1000); // wait for a second
|
||||||
digitalWrite(13, LOW); // set the LED off
|
digitalWrite(13, LOW); // set the LED off
|
||||||
|
Loading…
Reference in New Issue
Block a user