microsoft / jacdac

Device and service catalogs for Jacdac.
https://aka.ms/jacdac
Creative Commons Attribution 4.0 International
66 stars 25 forks source link

role manager not binding to physical or simulated button #719

Closed tballmsft closed 2 years ago

tballmsft commented 2 years ago

With the program below, I have the micro:bit in proxy mode, but the micro:bit simulator is not responding to physical button press (the character always remains U, it never transitions to D on press of physical button). Note that the digital twin of the physical button is responding to button press:

image

tballmsft commented 2 years ago

OK. the same problem is occurring without hardware for the program. The problem is that the role manager isn't binding

image

pelikhan commented 2 years ago

Please add shared project to githubs.

tballmsft commented 2 years ago

https://makecode.microbit.org/_7W7RWeTJ2AMU

pelikhan commented 2 years ago

Fixed by https://github.com/microsoft/pxt-jacdac/commit/45e0d7ca60e0e01bfa2c6d5902e0736056e1dc74