Select Git revision
main.cpp
-
ja3-saxby authored
If interacting with the singleton MicroBit instance via a reference or pointer, setting up event listeners doesn't work. So, the solution is to use a global variable for it. Perhaps this should be reported as a bug in mBed OS...
ja3-saxby authoredIf interacting with the singleton MicroBit instance via a reference or pointer, setting up event listeners doesn't work. So, the solution is to use a global variable for it. Perhaps this should be reported as a bug in mBed OS...