[Feature] Simplify hub setup
currently, if you only want to broadcast when setting up a hub, you have to show a bunch of other parameters that are not used. it would be nice if we could pick which ones we want to show instead of just expanding indefinitely
Originally posted by @dlech in https://github.com/pybricks/pybricks-blocks/issues/24
This is primarily an issue for the hub setup blocks, so possibly the solution can be somewhat specific to these blocks.
- Perhaps configure BLE and/or IMU in a separate block. Still in the setup section, so we can still statically insert it into the hub init in the generated code.
- Or have a dropdown before the first option to choose BLE broadcast, observe, IMU, or both. See the Remote setup block that does something similar.
Since broadcasting and observing is hub independent, maybe they can be separate blocks.
Taking it a step further, it could even be separate in the Python API, though we'd want to keep it backwards compatible and I don't know if we'd have enough space on Move Hub to do this.