Firmware
A firmware item (a codebase) holds the code for one board: an Arduino sketch (.ino) plus any headers and source files, and the Arduino libraries it uses.
The editor

- Toolbar: show or hide the file list, the board picker, a dot when there are unsaved changes, Save and Build.
- File list on the left. New file at its bottom asks for a path, for example
src/motor.h; Enter adds it, Esc cancels. - Editor in the middle, the same one as in Visual Studio Code. Ctrl+S saves.
- AI panel on the right.
- Menus: File and Help, listed below.
A codebase keeps only its latest version; keep anything important in git as well.
Menus
On a Mac, Ctrl is ⌘.
| Menu | Item | Shortcut | What it does |
|---|---|---|---|
| File | Save | Ctrl+S | Saves the open files. |
| Close | Saves, then goes back to the project page. | ||
| Help | Contact Us | Opens a short form to message the team. | |
| Terms of Service | Opens the terms in a new tab. | ||
| Privacy Policy | Opens the privacy policy in a new tab. | ||
| Discord Community | Opens the FloMotion Discord server. | ||
| Reddit (r/FloMotion) | Opens the FloMotion subreddit. |
Boards
The board picker has Arduino Uno, Arduino Nano, Arduino Mega, ESP32 DevKit, ESP32-C3, ESP32-S3 and Raspberry Pi Pico.
Build
Build compiles the code on the server with the board vendor's official Arduino core. Errors and warnings list under the editor with file and line ("Build failed"); click one to jump to it.

Running it in a circuit
The agent attaches a codebase to a board part in a schematic of the same project, mapping the part's pins to the board's pin names. Ask it, for example, "attach this code to the Uno". When that schematic is simulated, the board runs the latest successful build, and Serial shows its output.
Running it in a scene
The same build can drive a robot in a scene. The agent attaches the codebase to a robot of the scene together with a short mapping script that turns the chip's pin signals and bus traffic into joint targets, and the robot's state into what its sensors read. Ask it, for example, "run this code on the H1 with servos on GPIO13 and GPIO14 and an MPU6050". The chip runs in the browser emulator, so the scene plays at real time or slower.
A trained policy on the chip
A codebase that lists the FloMotion library can run a trained policy: the sketch reads its own sensors, hands the readings to the library, and writes the targets it returns to its servos. The policy model is a file in the chip's flash, so one build runs any model trained for the same joints. The library source is public in flomotion-inference.
Only a model trained with the onboard observation runs on a board, since a board cannot measure the robot's speed or height above the floor. Ask the agent to train one for the board, for example "train this walk for an ESP32". It trains with the onboard observation and, for a small board, a smaller network; the model details show whether the result fits.
Flash
When a scene runs this codebase with a policy, the model file it writes to flash shows in the Flash group under the source files, named after the policy, with the scene it comes from. Clicking it shows the model details in place of the editor; Open scene goes to that scene and Back to code returns to the editor. Clicking a source file returns to the editor as well.

A FloMotion codebase that no scene runs with a policy shows a note in the Flash group instead. The model details are described in Motions and training.