Browse Source

Write simple led flashing program.

master
Starbeamrainbowlabs 5 years ago
parent
commit
4e6466ad50
  1. 16
      flashLed/flashLed.ino

16
flashLed/flashLed.ino

@ -0,0 +1,16 @@
// Pin declarations
int ledPinOut = 12;
void setup()
{
Serial.println("Performing setup...");
pinMode(ledPinOut, OUTPUT);
}
void loop()
{
digitalWrite(ledPinOut, HIGH);
delay(1000);
digitalWrite(ledPinOut, LOW);
delay(800);
}
Loading…
Cancel
Save