Replies: 1 comment 2 replies
-
Each device is normally detected as a particular type. Depending on how that custom cable is internally wired, it might get detected as a light, a motor, or nothing at all. Does it work when you use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am adding lights to my Orient Express train that is powered by Technic hub running PyBricks.
The lights are from LightMyBricks and are powered by their Powered Up adapter: https://www.lightmybricks.eu/collections/diy-powering-lego-lights/products/lego-powered-up-cable-power-functions-2-0
In the official app, this adapter can be used in two ways:
In PyBricks code the second option works well, the lights are on when the attached motor is turned on.
But when i am trying to use it as separate lights (Light(Port.A)), i get a message that lights are not found in the selected port.
Does anyone know if there is a way to use this adapter for just controlling lights in the PyBricks?
Beta Was this translation helpful? Give feedback.
All reactions