Skip to main content

Code Overview

The Code mode is where you move from direct control into repeatable robot behavior.

Supported programming modes

Inside Code, the app supports three programming paths:

These modes serve different experience levels, from beginner-friendly visual flows to text-based programming.

How to choose

  • Choose Draw-to-code for the simplest visual entry point.
  • Choose Blockly for a structured visual workflow with reusable saved workspaces.
  • Choose MicroPython for text-based programming and more direct control.

Shared workflow

Most programming sessions follow the same pattern:

  1. Connect to the robot.
  2. Open the programming mode you want.
  3. Build or edit the behavior.
  4. Run it on the robot.
  5. Observe the result.
  6. Adjust and save if needed.

Good first projects

Start with short behaviors that are easy to verify:

  • drive forward and stop
  • flash LEDs in a pattern
  • move the arm after a delay
  • combine movement with a sound or screen action

For a detailed example of how these modes are used on Dotbot Flip, see:

For a suggested progression, see Learning Path.