Replies: 3 comments 9 replies
-
This currently isn't supported (you have to press the button first), but we have discussed adding support for a What is the use case? It seems like this could make a robot unexpectedly run away as soon as it is powered on. |
Beta Was this translation helpful? Give feedback.
-
I want to create an interactive installation with the hub hidden inside the LEGO construction. MINDSTORMS laypeople will operate it, so I'd like it to power on and run as soon as the USB gets power. I suppose Pybricks powers off on SystemExit, after some time with no battery connected. I'll find more use cases with Bluetooth, but that needs some thinking. |
Beta Was this translation helpful? Give feedback.
-
We have a storage area for generic user data and settings on all hubs. In a similar fashion, we could use a small section of that space for hub configuration. Are there other useful settings we could add if we did this?
|
Beta Was this translation helpful? Give feedback.
-
Is there a way to run a script as soon as the PrimeHub/InventorHub boots?
On regular micropython you can call your script main.py or boot.py to achieve this. How to do it with Pybricks?
Beta Was this translation helpful? Give feedback.
All reactions