#define red 14
#define grn 13
#define yel 12
#define blue 4
#define white 2
#define cyn 15
#define pb 5
void setup() {
pinMode(grn,OUTPUT);
pinMode(yel,OUTPUT);
pinMode(red,OUTPUT);
pinMode(blue,OUTPUT);
pinMode(white,OUTPUT);
pinMode(cyn,OUTPUT);
pinMode(pb,INPUT);
}
void loop() {
if (digitalRead(pb)==HIGH){
digitalWrite(red, LOW);
} else {
digitalWrite(red, HIGH);
}
}