// Guitar stand tuner #2
void setup() {
// put your setup code here, to run once:
pinMode(13, OUTPUT);
pinMode(10, OUTPUT); // My guitar tuner screen
pinMode(4, OUTPUT); // My guitar tuner screen
pinMode(A0, INPUT_PULLUP);
}
void loop() {
if(digitalRead(A0) == LOW) {
digitalWrite(10, HIGH);
delay(300);
digitalWrite(10, LOW);
delay(600);
digitalWrite(4, HIGH);
delay(300); // Delay 0.3 secs
digitalWrite(4, LOW);
delay(600);
}
}