-
|
Download the custom(user) module and Or can I download several programs? (like slots on the official app) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
|
There is only one active program on the hub, but you can import functions from other files / modules, which will all be downloaded to the hub (from my understanding). If you want to chose from multiple functions, take a look at the hub_menu from the tools |
Beta Was this translation helpful? Give feedback.
-
|
I actually just saw an interesting use of "dynamic" imports in combination with hub_menu. I had never thought of using import this way. |
Beta Was this translation helpful? Give feedback.
-
|
We've just added a tutorial that also answers this question. It works both with Python and block-based coding. |
Beta Was this translation helpful? Give feedback.


There is only one active program on the hub, but you can import functions from other files / modules, which will all be downloaded to the hub (from my understanding).
If you want to chose from multiple functions, take a look at the hub_menu from the tools
https://docs.pybricks.com/en/stable/tools/index.html#input-tools