inoProjects/AlternatingLights/AlternatingLights.ino

25 lines
421 B
Arduino
Raw Normal View History

2019-03-11 17:20:53 -04:00
/*
*@author James McKenzie
*@lang C89 Based
*@contact lunarised@outlook.com
*/
void setup() {
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
digitalWrite(12, LOW);
digitalWrite(13, HIGH);
delay(100);
digitalWrite(10, HIGH);
digitalWrite(11, LOW);
digitalWrite(12, HIGH);
digitalWrite(13, LOW);
delay(100);
}