Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
128:fde8d042a9af
Parent:
127:58cd1d28f734
Child:
130:630d05daed77
--- a/CommonDefinitions.h	Wed Mar 26 19:59:40 2014 +0000
+++ b/CommonDefinitions.h	Wed Mar 26 20:17:01 2014 +0000
@@ -80,17 +80,32 @@
 // Network - use mutexes?
 #define NETWORK_MUTEX               true                            // true - yes, undef - no
 
-// Platform String (for all supported platforms that may be compiled against)
+// Platform specific customizations
 #ifdef _ENDPOINT_UBLOX_PLATFORM
-    #define PLATFORM_STRING         "U-Blox MBED"
+    #define PLATFORM_STRING         "U-Blox MBED"                   // platform string
+    #define EXT_LED_PIN             p21                             // pin to use for external LED cathode 
+    #define BATTERY_POT_PIN         p20                             // pin for the battery POT
+    #define VOLTAGE_POT_PIN         p19                             // pin for the voltage POT
+    #define TEMP_SENSOR_PIN1        p28                             // pin for temp sensor
+    #define TEMP_SENSOR_PIN2        p27                             // pin for temp sensor
 #endif
 
 #ifdef _ENDPOINT_NXP_PLATFORM
-    #define PLATFORM_STRING         "NXP MBED"
+    #define PLATFORM_STRING         "NXP MBED"                      // platform string
+    #define EXT_LED_PIN             p21                             // pin to use for external LED cathode 
+    #define BATTERY_POT_PIN         p20                             // pin for the battery POT
+    #define VOLTAGE_POT_PIN         p19                             // pin for the voltage POT
+    #define TEMP_SENSOR_PIN1        p28                             // pin for temp sensor
+    #define TEMP_SENSOR_PIN2        p27                             // pin for temp sensor
 #endif
 
-#ifdef _ENDPOINT_FREEDOM_PLATFORM
-    #define PLATFORM_STRING         "Freescale MBED"
+#ifdef _ENDPOINT_FREEDOM_PLATFORM   
+    #define PLATFORM_STRING         "Freescale MBED"                // platform string
+    #define EXT_LED_PIN             p21                             // pin to use for external LED cathode
+    #define BATTERY_POT_PIN         p20                             // pin for the battery POT 
+    #define VOLTAGE_POT_PIN         p19                             // pin for the voltage POT
+    #define TEMP_SENSOR_PIN1        p28                             // pin for temp sensor
+    #define TEMP_SENSOR_PIN2        p27                             // pin for temp sensor
 #endif
 
 #endif // _COMMON_DEFINITIONS_H_
\ No newline at end of file