The Quorum Studio Coding window for this lesson appear here with the lines of code and comments. Look for links named Full Code as Text with Comments to get the same information in text.

Open Quorum Studio, start a new project and be sure to make it a Lego type and give a helpful name like Circle1A and then type in the text above, spelling, capitation and grammar count. If you are having trouble reading the text above, it is a picture of the code. The next link below contains the code in text so you can copy and paste it if you wish or listen to it with your screen reader. The use statement call for one of Quorum Libraries. These libraries contain lots of useful code, that once loaded, let you access lots of abilities for your programming needs. This Motor library let you make requests of the motor and will give you information about what the motor is doing. 1800? That is 360 times 5. There are 360 degree in a circle, and each 360 degrees will make the robots wheel rotate 1 time. 90 degrees would move the wheel one quarter of the way around.

Click here to see and copy the code.

use Libraries.Robots.Lego.Motor
Motor motor
motor:SetSpeed("B",50)
motor:RotateByDegrees("B",1080)
motor:Wait("B")


Sample Video: Scroll down to see student summited videos

Student
Vidoes