SELECT LED PATTERN BY IR REMOTE

LED petern IR

 

#include <EEPROM.h>

#include <IRremote.h>

int RECV_PIN = 12;

byte petern;

// Inisialisasi Pin LED

const int pinLED1 =2;

const int pinLED2 =3;

const int pinLED3 =4;

const int pinLED4 =5;

const int pinLED5 =6;

const int pinLED6 =7;

const int pinLED7 =8;

const int pinLED8 =9;

const int pinLED9 =10;

const int pinLED10=11;

const int pinLED11=14;

IRrecv irrecv(RECV_PIN);

decode_results results;

void setup() {

irrecv.enableIRIn(); // Start the receiver

// pin LED sebagai output

pinMode(pinLED1, OUTPUT);

pinMode(pinLED2, OUTPUT);

pinMode(pinLED3, OUTPUT);

pinMode(pinLED4, OUTPUT);

pinMode(pinLED5, OUTPUT);

pinMode(pinLED6, OUTPUT);

pinMode(pinLED7, OUTPUT);

pinMode(pinLED8, OUTPUT);

pinMode(pinLED9, OUTPUT);

pinMode(pinLED10, OUTPUT);

pinMode(pinLED11, OUTPUT);

}

int on = 0;

unsigned long last = millis();

void loop() {

if (irrecv.decode(&results)) {

if (results.value == 0x20F0E01F) {

EEPROM.write(1, 1);

}

else if (results.value == 0x20F002FD) {

EEPROM.write(1, 2);

}

else if (results.value == 0x20F0609F) {

EEPROM.write(1, 3);

}

irrecv.resume(); // Receive the next value

}

petern = EEPROM.read(1);

if(petern == 1){

petern1();

}

if(petern == 2){

petern2();

}

if(petern == 3){

petern3();

}

}#

void petern1(){

for(int i=0; i<12; i++){

if(i==0){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==1){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==2){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==3){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==4){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==5){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==6){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==7){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==8){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==9){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==10){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, LOW);

}

else if(i==11){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, HIGH);

}

delay(100);

}

}

void petern2(){

for(int i=0; i<12; i++){

if(i==0){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==1){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, HIGH);

}else if(i==2){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, HIGH);

}else if(i==3){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, HIGH);

}else if(i==4){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, HIGH);

}else if(i==5){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, HIGH);

}else if(i==6){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, HIGH);

}else if(i==7){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, LOW);

}else if(i==8){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==9){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==10){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==11){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

delay(100);

}

}

void petern3(){

for(int i=0; i<21; i++){

if(i==0){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==1){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==2){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==3){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==4){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==5){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==6){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==7){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==8){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}else if(i==9){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, LOW);

}else if(i==10){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, HIGH);

}

else if(i==11){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, HIGH);

digitalWrite(pinLED11, LOW);

}

else if(i==12){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, HIGH);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==13){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, HIGH);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==14){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, HIGH);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==15){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, HIGH);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==16){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, HIGH);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==17){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, HIGH);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==18){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, HIGH);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==19){

digitalWrite(pinLED1, LOW);

digitalWrite(pinLED2, HIGH);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

else if(i==20){

digitalWrite(pinLED1, HIGH);

digitalWrite(pinLED2, LOW);

digitalWrite(pinLED3, LOW);

digitalWrite(pinLED4, LOW);

digitalWrite(pinLED5, LOW);

digitalWrite(pinLED6, LOW);

digitalWrite(pinLED7, LOW);

digitalWrite(pinLED8, LOW);

digitalWrite(pinLED9, LOW);

digitalWrite(pinLED10, LOW);

digitalWrite(pinLED11, LOW);

}

delay(100);

}

}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s