Skip to content
Snippets Groups Projects
Select Git revision
  • c1bb448867e888c625973c9dbf5216e95596ee6a
  • master default protected
  • v1.0.0
  • mvp-2
  • mvp-1
5 results

main.cpp

  • ja3-saxby's avatar
    c1bb4488
    I've worked out what the issue is · c1bb4488
    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...
    c1bb4488
    History
    I've worked out what the issue is
    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...