m5stack mute speaker
This commit is contained in:
@@ -1838,6 +1838,11 @@ void setup(void) {
|
|||||||
pinMode(BUTTON_LEFT, INPUT);
|
pinMode(BUTTON_LEFT, INPUT);
|
||||||
pinMode(BUTTON_RIGHT, INPUT);
|
pinMode(BUTTON_RIGHT, INPUT);
|
||||||
|
|
||||||
|
#ifdef BOARD_M5STACK_CORE
|
||||||
|
// mute speaker
|
||||||
|
dacWrite(25, 0);
|
||||||
|
#endif // BOARD_M5STACK_C
|
||||||
|
|
||||||
// Init display
|
// Init display
|
||||||
Serial.println("Init TFT display");
|
Serial.println("Init TFT display");
|
||||||
tft.begin();
|
tft.begin();
|
||||||
|
|||||||
Reference in New Issue
Block a user