Custom Controls

[Zoe Foxlin] A program tells your hub and motors how to respond to button presses. You can create your own custom program to control your bot any way you like!
Create a program file
Visit code.robobattles.com using Chrome or Edge.
Click the ➕ New File button.

If this is your first time, copy my premade control program ↓.
Connect your hub to your computer

Turn on your hub.
Double tap the green button. The light should start flashing blue.
Click the Bluetooth button.

Click the name of your hub, then click Pair.

When the hub is connected, the light will stop flashing and turn solid blue. The Bluetooth button icon will also change. 

Turn on your hub.
Double tap the power button. The hub light should start flashing blue.
Click the Bluetooth button.

Click the name of your hub, then click Pair.

When the hub is connected, the light will stop blinking and turn solid blue. The Bluetooth button icon will also change. 
Last updated

