add explicit mode to all examples

So people stop complaining when ap starts by default cause they dont know how esp works.
This commit is contained in:
tablatronix
2019-08-14 13:40:19 -05:00
parent 34d9a975b5
commit 1b8d870c22
11 changed files with 17 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
void setup() {
WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
// put your setup code here, to run once:
Serial.begin(115200);