IoT Challenge 1

Dependencies:   microbit-dal

Revision:
5:8052323b72d2
Parent:
1:af427e419320
--- a/source/MicroBit.cpp	Thu Apr 07 01:30:13 2016 +0100
+++ b/source/MicroBit.cpp	Fri Apr 08 16:36:37 2016 +0100
@@ -208,6 +208,7 @@
             break;
 
         case MICROBIT_ID_ACCELEROMETER:
+        case MICROBIT_ID_GESTURE:
             // A listener has been registered for the accelerometer.
             // The accelerometer uses lazy instantiation, we just need to read the data once to start it running.
             accelerometer.updateSample();
@@ -219,4 +220,4 @@
             thermometer.updateSample();
             break;
     }
-}
+}
\ No newline at end of file