Closed microbit-carlos closed 6 years ago
This looks good to me (except I'd set the variable before triggering the event). I tested the change and it does fix the following test code:
from microbit import *
while True:
print(accelerometer.current_gesture())
sleep(200)
Thanks @microbit-carlos @dpgeorge
Looks good to me - perfect fix @microbit-carlos.
I've merged this into the dal-integration branch ready for the next release.
Info: https://github.com/lancaster-university/microbit-dal/issues/372#issuecomment-417731360