diff --git a/src/M5Stack.cpp b/src/M5Stack.cpp index 035f476..a981c26 100644 --- a/src/M5Stack.cpp +++ b/src/M5Stack.cpp @@ -46,6 +46,9 @@ void M5Stack::begin(bool LCDEnable, bool SDEnable, bool SerialEnable, bool I2CEn if (SerialEnable == true) { Serial.println("OK"); } + + // if use M5GO button, need set gpio15 OD or PP mode to avoid affecting the wifi signal + pinMode(15, OUTPUT_OPEN_DRAIN); } void M5Stack::update() {