microsoft / jacdac

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

RGB ring roles #1352

Open fabianhugo opened 7 months ago

fabianhugo commented 7 months ago

Describe the bug When using two RGB rings from kittenbot, only one gets a role automatically assigned, the other ring is not directly usable via the blocks. Solution is to go to the role manager, create a new role, which then gets activates the other ring. From a user perspective this workflow is pretty hard to find.

image

Another thing I noticed is, when I used the servo module from kittenbot, at some instances the two servo ports changed their roles, e.g. servo3 was activating the S1 servo and then after a couple of program downloads it was activating the S2 servo. Is that already known?

To Reproduce

  1. Open Makecode
  2. Connect two RGB rings
  3. Click on 'add blocks'
  4. Try activating the second RGB ring with blocks

Expected behavior As with e.g. servo blocks multiple servos are useable without going to the role manager.

Desktop (please complete the following information):