Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: microbit-dal-bluetooth-mdw
Fork of microbit by
Diff: source/MicroBit.cpp
- 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
