     }
 
 #ifdef ESP8266
+    WiFi.mode(WIFI_STA);
 
     delay(1000);
     set_press = (expand.readByte() & 0b10 ) != 0b10;

    }

    expand.attachInterrupt(iter);
#endif

    sensor.set_sleep(false);
    sensor.set_mode(sds011::QUERY);


    display.begin();
    dht22.begin();

    if (clear) {
        display.clear();
