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:
- Connect to the robot.
- Open the programming mode you want.
- Build or edit the behavior.
- Run it on the robot.
- Observe the result.
- 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
Related product docs
For a detailed example of how these modes are used on Dotbot Flip, see:
For a suggested progression, see Learning Path.