From 3b97f52a20ed9ad682f671222e8be8d790aa1e98 Mon Sep 17 00:00:00 2001 From: Lubos Petrovic Date: Thu, 26 Nov 2020 17:15:29 +0100 Subject: [PATCH] m5stack mute speaker --- enirodashboard.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/enirodashboard.ino b/enirodashboard.ino index 2384e82..b74755d 100644 --- a/enirodashboard.ino +++ b/enirodashboard.ino @@ -1838,6 +1838,11 @@ void setup(void) { pinMode(BUTTON_LEFT, INPUT); pinMode(BUTTON_RIGHT, INPUT); +#ifdef BOARD_M5STACK_CORE + // mute speaker + dacWrite(25, 0); +#endif // BOARD_M5STACK_C + // Init display Serial.println("Init TFT display"); tft.begin();