Revision Commit

Dependencies:   C12832

Fork of seoul-iot-hackathon-demo by Seoul IoT Hackathon Admins

Revision:
6:8e31aead85c3
Parent:
1:bab7fe330b43
--- a/2_connected_app/main.h	Fri Sep 29 22:36:18 2017 +0000
+++ b/2_connected_app/main.h	Mon Oct 02 14:56:42 2017 +0000
@@ -35,6 +35,8 @@
 void set_blink_led(int *) {
     static int blink_id = NULL;
     // GET VALUE OF LED RESOURCE
+    
+    
     if (blink == 1 && blink_id == NULL) {
         blink_id = queue.call_every(500, blink_led);
     }
@@ -47,8 +49,10 @@
 
 // MESSAGE RESOURCE PUT HANDLER
 
+
 // DISPLAY RESOURCE POST HANDLER
 
+
 void read_potentiometer() {
     static float potentiometer_val = 0;
     if ((float)pot1 != potentiometer_val) {
@@ -56,6 +60,8 @@
         char val[13];
         sprintf(val, "%.2f", potentiometer_val);
         // UPDATE RESOURCE VALUE
+        
+        
     }
  }