Alexander Rao / Mbed 2 deprecated weather_clock

Dependencies:   mbed MbedJSONValue mbed-rtos 4DGL-uLCD-SE ESP8266NodeMCUInterface

Files at this revision

API Documentation at this revision

Comitter:
alexhrao
Date:
Fri May 24 23:19:29 2019 +0000
Parent:
10:16356570821e
Child:
12:513a0fd7c426
Commit message:
Add limited support for the new lua interpreter

Changed in this revision

ESP8266NodeMCUInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/ESP8266NodeMCUInterface.lib	Sat May 18 17:57:20 2019 +0000
+++ b/ESP8266NodeMCUInterface.lib	Fri May 24 23:19:29 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/alexhrao/code/ESP8266NodeMCUInterface/#c8c727b413d9
+https://os.mbed.com/users/alexhrao/code/ESP8266NodeMCUInterface/#a5c7a72aa707
--- a/main.cpp	Sat May 18 17:57:20 2019 +0000
+++ b/main.cpp	Fri May 24 23:19:29 2019 +0000
@@ -1,3 +1,5 @@
+// Change below to 1 to compile for the new node
+#define ESP8226_NEW_NODE 0
 #include "mbed.h"
 #include "uLCD_4DGL.h"
 #include "ESP8266Interface.h"
@@ -329,6 +331,7 @@
     if (!res) {
         dev.printf("Connection Failed... Resetting Device\n");
         err_led = 1;
+        while (true);
         mbed_reset();
     }