Update display.ino
Ook de tone was al uitgezet ivm ESP32 migratie
This commit is contained in:
parent
14ecb076bd
commit
6bd01e7396
@ -11,7 +11,7 @@ Nextion display is connected to D5 en D6
|
|||||||
SoftwareSerial nexSerial(D5, D6); // RX, TX
|
SoftwareSerial nexSerial(D5, D6); // RX, TX
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DEBUG 1 //Uit quoten om debug messages te krijgen
|
//#define DEBUG 1 //Uit quoten om debug messages te krijgen
|
||||||
|
|
||||||
//#include <WiFi.h>
|
//#include <WiFi.h>
|
||||||
|
|
||||||
@ -280,7 +280,7 @@ void loop() {
|
|||||||
|
|
||||||
if(alarm_sound == 1)
|
if(alarm_sound == 1)
|
||||||
{
|
{
|
||||||
// tone(BUZZER_PIN, 1000, 50);
|
tone(BUZZER_PIN, 1000, 50);
|
||||||
delay(1000);
|
delay(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user