diff --git a/.project b/.project index 1715a76..f85ff19 100644 --- a/.project +++ b/.project @@ -5,6 +5,11 @@ + + org.python.pydev.PyDevBuilder + + + io.sloeber.core.inoToCpp @@ -29,6 +34,7 @@ org.eclipse.cdt.managedbuilder.core.managedBuildNature org.eclipse.cdt.managedbuilder.core.ScannerConfigNature io.sloeber.arduinonature + org.python.pydev.pythonNature diff --git a/.pydevproject b/.pydevproject new file mode 100644 index 0000000..d001f0a --- /dev/null +++ b/.pydevproject @@ -0,0 +1,5 @@ + + +Default +python interpreter + diff --git a/productionMode.cpp b/productionMode.cpp index a05ef73..40f6b28 100644 --- a/productionMode.cpp +++ b/productionMode.cpp @@ -30,6 +30,7 @@ extern uint32_t startTime; void setup_wifi() { delay(10); + WiFi.mode(WIFI_STA); // We start by connecting to a WiFi network #ifdef DEBUG