LED Blink Pattern
int yellowled = 13;
int greenled = 11;
int blueled = 10;
void loop() {
digitalWrite(yellowled, HIGH); // turn the LED on
delay(100);
// wait
digitalWrite(yellowled, LOW); // turn the LED off
digitalWrite(greenled, HIGH); // turn the LED on
delay(100);
// wait
digitalWrite(greenled, LOW); // turn the LED off
digitalWrite(blueled, HIGH); // turn the LED on
delay(100);
// wait for 1/2 a second
digitalWrite(blueled, LOW);
// turn the LED off
delay(50);
// wait
• Color emergence
• Light intensity
• Illuminating
• Highly reflective
Christinenstraße 18/19 Haus 2, Berlin, 10119
www.olafureliasson.net
}
void setup() {
pinMode(yellowled, OUTPUT);
pinMode(greenled, OUTPUT);
pinMode(blueled, OUTPUT);
}