-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Investigate why TechnicMediumHub responds with LedLight when VccPortControlOn/Off is sent #4
Comments
- Also implemented VccPortControlOn/OffAsync exposing bug #24 #25
Considering @dlech reply in pybricks question, this feature more sounds like disabling the energy supply to all ports (external/internal?). According to this post, LED lights are not using VCC at all. Maybe that is the reason why the hub defaults to led lights when switching of power. @dlech You seem to be a hardware genius ... thoughts on this? |
This turns power to pin 4 on the I/O ports on and off. I'm not sure what any practical purpose there would be for this though. Maybe it was used during product development to reboot the sensors or something like that? |
Personal guess: Something like a red button "emergency switch" to immediately halt all devies. But that does not explain the LEDs. |
It is probably just a coincidence that with the power off the electrical circuit looks like the LED lights and so the automatic device detection algorithm detects that instead of no device connected. |
It would not stop motors since those use direct battery power. 😉 |
On second thought, maybe it would since it would think that the motor is detached. |
Current Behavior
hub.VccPortControlOnAsync()
orhub.VccPortControlOffAsync
seems to trigger a detach on all ports with an attached device and then a registration of a LedLight (which as a device is currently not implemented).Question
The text was updated successfully, but these errors were encountered: