Fix text
This commit is contained in:
parent
f39713d97e
commit
1b35c285df
@ -139,7 +139,7 @@ void fetchActiveProblems() {
|
|||||||
|
|
||||||
void playAlertMelody() {
|
void playAlertMelody() {
|
||||||
int toneDuration = 60; // Each tone lasts 150ms
|
int toneDuration = 60; // Each tone lasts 150ms
|
||||||
int pauseDuration = 20; // Pause between tones
|
int pauseDuration = 30; // Pause between tones
|
||||||
|
|
||||||
// Play first tone
|
// Play first tone
|
||||||
tone(PIN_BUZZER, 1500); // 1000 Hz
|
tone(PIN_BUZZER, 1500); // 1000 Hz
|
||||||
@ -214,7 +214,7 @@ void displayProblems() {
|
|||||||
display.setTextSize(1);
|
display.setTextSize(1);
|
||||||
display.fillRect(112,35,16,11,0);
|
display.fillRect(112,35,16,11,0);
|
||||||
display.drawRect(112,35,16,11,1);
|
display.drawRect(112,35,16,11,1);
|
||||||
display.setCursor(113,37);
|
display.setCursor(114,37);
|
||||||
display.print(totalProblems);
|
display.print(totalProblems);
|
||||||
display.display();
|
display.display();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user