Write simple led flashing program.

This commit is contained in:
Starbeamrainbowlabs 2016-07-01 10:10:05 +01:00
parent 2b4f90a418
commit 4e6466ad50

16
flashLed/flashLed.ino Normal file
View file

@ -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);
}