Browse Source

testing

master
Tom Nordal 2 years ago
parent
commit
0c0b77ca59
  1. 6
      blink/src/main.cpp

6
blink/src/main.cpp

@ -10,6 +10,8 @@ void setup()
{
// initialize LED digital pin as an output.
pinMode(LED_BUILTIN, OUTPUT);
Serial.begin(9600);
Serial.println("Hello World");
}
void loop()
@ -17,9 +19,9 @@ void loop()
// turn the LED on (HIGH is the voltage level)
digitalWrite(LED_BUILTIN, HIGH);
// wait for a second
delay(1000);
delay(100);
// turn the LED off by making the voltage LOW
digitalWrite(LED_BUILTIN, LOW);
// wait for a second
delay(1000);
delay(100);
}

Loading…
Cancel
Save