NTP demo for cypress Pioneer and Proto Dev kits also reads available analogue sensors

Revision:
5:6b62d5cb48e9
Parent:
4:6f3c2a46cec2
Child:
6:7fb6949e4f7e
--- a/main.cpp	Thu Jul 02 11:06:15 2020 +0100
+++ b/main.cpp	Fri Jul 03 15:21:43 2020 +0100
@@ -3,7 +3,7 @@
 #include "mbed_events.h"
 #include "ntp-client/NTPClient.h"
 
-#define CY8CKIT_TFT // Light or Temperature?
+#undef CY8CKIT_TFT // Light or Temperature?
 Thread netTimeThreadHandle;
 WiFiInterface *wifi;
 #define MBED_CONF_APP_WIFI_SSID "brackenhillc"
@@ -36,6 +36,7 @@
 #endif
 static float lightlevel;
 #else
+#define         GUI_ \/\/
 DigitalOut      PwrEnable(P10_0);
 DigitalOut      ThermGnd(P10_3);
 AnalogIn        Thermistor(P10_1);