Ok the way I understand it is under my screen 2 if statement I should have a variable that tells me that screen 2 is displaying.
So
if (customKey == '*' ) {
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("The Coop Door Is");
ScreenTwo=HIGH;
}
}
Then have an other if statement
if (ScreenTwo == HIGH){
CoopDoor();
delay(1000);
}
I think I used the delay correctly here. I want to check the CoopDoor function every second and display that change.