Advertisement
Guest User

Untitled

a guest
Nov 8th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. if (min <= 1){
  2. lcd.setBacklight(HIGH);
  3. static unsigned long ult_tempo = 0;
  4. int tempo = millis();
  5. if (tempo - ult_tempo >= 1000) {
  6. ult_tempo = tempo;
  7. lcd.setBacklight(LOW);
  8. tone(Buzzer, 1500, 50);
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement