Closed fabianhugo closed 8 months ago
@fabianhugo could you attach the packet trace?
Sure. In this trace I connected the power module after a couple of seconds and unplugged it a couple of seconds later. trace_power.jd.txt
@xmeow @smfox10 please take a look
@fabianhugo Thank you for the feedback. Actually there is two separate power supply controllers on the module as discussed here: https://github.com/microsoft/jacdac/discussions/373 But only one should be working at same time if there is external wiring to connect the two power supply together.
@fabianhugo On the Jacdac platform, there are two Jacdac power modules displayed (you can see two PADAUK ICs), which is not a bug. They are responsible for controlling the power on/off of the two Jacdac interface channels.
On the Makecode platform, the power module is not displayed. This decision was made in communication with Peli. Since Makecode platform programming is simple and there is no need to turn off the module, the power is generally kept on. Therefore, the icon was hidden.
I will add a note on the device page. It seemed like a good idea to hide them... but we could revisit this decision.
That sounds interesting. So each displayed jacdac module allows the control of one voltage source? From my perspective, it would be nice to have some visual feedback in makecode as well for the voltage source to be supplying the bus, without a switch. But I'd see that as a feature with low level priority. Thanks for the answers, from my side this issue can be closed.
Describe the bug A brief search did not show a duplicate issue. Kittenbot Jacdac-Power module (Kit B) is displayed twice as UE21 and KA82 in the Jacdac Dashboard:
In makecode.microbit.org the power module is not displayed below the simulator.
To Reproduce
Expected behavior Only one instance of the power module should be shown.