SamuKata
Pybricks
Pybricks

patreon


How to make multiple program "slots" on Spike Prime

Normally, only one Pybricks program is saved on the hub. This usually makes it easy to find and start your latest project. And it’s especially practical on hubs without a display.

But the SPIKE Prime Hub and the MINDSTORMS Robot Inventor hub have plenty of space for multiple programs. Downloading multiple programs is useful in competitions like FLL or WRO, where you might want to break down your programs into several missions.

This method differs from the conventional program “slots”, but it’s easy to set up and you have much more flexibility in how your mission programs work.

This article shows how you can download multiple programs, and add a simple menu that helps you start your selected program using the buttons on the hub.

You can use numbers in your menu, but also letters and symbols. This is often way easier to remember on competition day!

How to make multiple program "slots" on Spike Prime

Comments

Thanks! I'm on a mission to answer each user question with a short article like this so the answers don't get lost. This is one of those frequently asked questions :-)

Laurens Valk

This is exactly what I needed. Thank you! I had crafted up some complex python thing but didn’t feel confident having 13yr olds attempt to use it.

Chris


More Creators