Programming

Updated 2 months ago by mike moran

You can code Sphero robots in 3 different ways using the Sphero Edu app: 

Draw Programming: This simpler method of programming is intended for grades PK-2, and is simply named "Draw". Users draw lines to program their robot and can modify the speed and color. Be sure to check out our introductory Draw Activities on Sphero Edu. You can view  the JavaScript text code behind a draw program by selecting the three dots menu in the top right of the program canvas, and select 'JavaScript Code'. 

Block Programming: Intermediate coders can utilize the familiar block-based drag and drop interface. Pre-programmed blocks allow for a wide variety of actions and variables. New to block programming? Check out our Blocks intro activities.  You can view the JavaScript text code behind a blocks program by selecting the three dots menu in the top right of the program canvas, and select 'JavaScript Code'. You can also copy the text code, create a text program, then paste it to edit the code.

Text Programming: A more advanced method for grades 6-University where users can program with a text editor to write custom syntax. An integrated "Wiki" will support users graduating from blocks to text; the same type of tool real developers use. The "Text Series" of onboarding activities will bring Sphero robots to life through code. All text coding is done using Javascript. Text code cannot generate block code. 

If you have any questions or concerns, please reach out to us directly at support@sphero.com


How did we do?