emma controller code in production board v1
Dependencies: ADE7758_v1 Crypto DHT11 MQTT MbedJSONValueEmma SDFileSystem TFT_ILI9341 SWSPI SetRTC TFT_fonts Touch W5500Interface mbed-rtos mbed-src SoftSerial
Fork of emma_controller_energy by
Diff: main.cpp
- Revision:
- 11:2311b2d5157d
- Parent:
- 10:1dc69e0ce7fd
- Child:
- 12:96f637ed37f9
--- a/main.cpp Mon Jul 13 06:25:58 2015 +0000 +++ b/main.cpp Mon Jul 13 13:29:25 2015 +0000 @@ -1,10 +1,11 @@ #include "emmaCode.h" -int mode = MODE_WIFI_CONFIG; +int mode = MODE_OPERATION; int main() { //init touchscreen and read input + + emmaInit(); - //switch mode switch(mode) { case MODE_SETTINGS: