Getting Started

A quick and easy tutorial for starting a LEGO® SPIKE™ project in Quorum Studio

Step 1: Install Quorum Studio

InstallQuorum Studioto use Quorum's official development environment. This will give you full access to the tools necessary to write Quorum code and send it to the LEGO® SPIKE™ robot.

Install Quorum Studio

Step 2: New Project

Once you have Quorum Studio opened up, you can find a toolbar at the top. Click the option "File" and click "New Project" in the dropdown. Optionally, you can use the "Ctrl + K" or "Command + K" shortcut.

New project menu option image

In the popup, you must enter a "Project Name" and "Project Location". Then click "Ok".

New project dialog image

Step 3: Write Code

On the left panel, you will see the name of the project you just created. Open all of the dropdowns until you see a file called "Main.quorum", then open this. You should now see the following:

Empty project image

If you are new to Quorum or programming,click thisfor a tutorial on how to write Quorum code.

Here is an example of some Quorum code that would activate one of the motors on the robot. To learn about all of the things your robot can do and how to use it in Quorum, visit ourdocs.

Quorum code image

Step 4: Send to Robot

In the toolbar, click the option "Edit" and click "Edit Project Properties" in the dropdown. Optionally, you can use the "Ctrl + P" or "Command + P" shortcut.

Project properties menu option image

In the popup, click the tab labeled "Spike" at the top. Then from here, you will be able to select a slot to send the Quorum code to the LEGO® SPIKE™ robot. When you are ready, click "Ok."

Send code dialog image

That is it!