Mbed Cloud Example Project - LPC546xx (Completed Version)

Fork of mbed-cloud-example-lpc546xx by Clark Jarvis

Revision:
6:19cb3d7341c6
Parent:
5:e521ea1f4c22
Child:
8:99d61dd3bfb9
--- a/Code_Additions.txt	Thu Oct 11 14:29:07 2018 +0000
+++ b/Code_Additions.txt	Thu Oct 11 14:47:04 2018 +0000
@@ -1,9 +1,11 @@
+
+
+// Pointer declaration for Rate Resource
+static MbedCloudClientResource* rate_ptr;
 
 
 
-static MbedCloudClientResource* rate_ptr;
-
-// Mbed Cloud Client resource setup
+// Setup Mbed Cloud Client Resources
 MbedCloudClientResource *button = mbedClient.create_resource("3200/0/5501", "button_resource");
 button->set_value("0");
 button->methods(M2MMethod::GET);
@@ -24,7 +26,7 @@
 
 
 
-    
+// Resource Callback Functions
 void blink_rate_updated(const char *) {
     printf("PUT received, Storing LED Blink Rate: %s (ms)\r\n", rate_ptr->get_value().c_str());
 }
@@ -46,4 +48,5 @@
 
 
 
+// Call to update button resource count
 button->set_value(button_count);