Coding with the LEGO® Education SPIKE™ Prime app
The coding language for LEGO® Education SPIKE™ Prime has the same look and feel as Scratch, the industry standard for block coding. Its familiar drag and drop feature makes it easy for all skill levels. While the two languages are similar, you can't use programs created in the SPIKE Prime App with Scratch 3.0, or vice versa.
What’s the difference between Download mode and Stream mode?
When you’re using the app in Download mode, pressing the play button will add the program you’re creating into a slot on the hub. You can choose which slot to send the program to by clicking the icon of the hub light grid in the lower right of the programming canvas. You can have up to 20 programs on the Hub.
When the app is in Streaming mode, the program you’re creating will stream to the hub when you hit play, but won’t be downloaded to it. Streaming mode allows you the freedom to tinker with your program until the coding is just right. Be careful when streaming--you won’t add a copy of your program to the hub but your model will react to your programming!
You can switch to Download mode when you’re done tinkering and ready to put the program on the hub.
Extension blocks
Extensions are groups of programming blocks that you can use to add additional features to your coding experience. You’ll be able to expand what you can do with your motors and sensors as well as access cloud data from the internet through the weather and music extensions.
If you plan on using cloud data in your program, make sure your device is connected to the internet or your program won’t work as expected.