> For the complete documentation index, see [llms.txt](https://docs.revrobotics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.revrobotics.com/first-global/2026/sb-code.md).

# Programming Starter Bot

## Getting Started!

If your team is new to *FIRST* Global Challenge, or in need of a review, we strongly recommend checking out our updated [Hello Robot Programming Guide](https://docs.revrobotics.com/duo-control/hello-robot-blocks/welcome) before diving in!

To begin, let's take a look at the configuration and actuators used in this year's design.

<table><thead><tr><th width="277">Device Type</th><th width="178">Hub</th><th width="109">Port Number</th><th>Name</th></tr></thead><tbody><tr><td>REV Robotics Ultraplanetary HD Hex Motor</td><td>Expansion Hub</td><td>0</td><td>rightDrive</td></tr><tr><td>REV Robotics Ultraplanetary HD Hex Motor</td><td>Expansion Hub</td><td>1</td><td>leftDrive</td></tr><tr><td>REV Robotics Ultraplanetary HD Hex Motor</td><td>Expansion Hub</td><td>2</td><td>climbMotor</td></tr><tr><td>REV Robotics Ultraplanetary HD Hex Motor</td><td>Control Hub</td><td>0</td><td>bottomFlywheel</td></tr><tr><td>REV Robotics Ultraplanetary HD Hex Motor</td><td>Control Hub</td><td>1</td><td>topFlywheel</td></tr><tr><td>REV Robotics Core Hex Motor</td><td>Control Hub</td><td>2</td><td>coreHex</td></tr><tr><td>REV Robotics Ultraplanetary HD Hex Motor</td><td>Control Hub</td><td>3</td><td>intakeMotor</td></tr></tbody></table>

## Configuration

Before getting started with programming, we needed to create a [configuration file](https://docs.revrobotics.com/duo-control/hello-robot-blocks/configuration). Below is an overview of how the robot is configured for the TeleOp code to function as expected:

## Configuration File Download

Right click the file below and select "save link as" if the download button does not appear. To put this configuration file on your robot, drag this file into the "FIRST" folder of your Control Hub's file system.

{% file src="/files/r4fuF63XcNYFNM58WZIu" %}

## Wiring Diagram

<figure><img src="/files/NcNvGjUC8pj4NN4G4iIB" alt=""><figcaption></figcaption></figure>

## Gamepad Setup

The 2026 FGC Starter Bot uses arcade drive controlled by the left joystick. The robot's forward and reverse motions, along with turning, are all controlled by the left stick together!

| Gamepad Input | Function                          |
| ------------- | --------------------------------- |
| Left Joystick | Arcade Drive (forward/back, turn) |
| Triangle      | Climb Forward                     |
| Square        | Climb Reverse                     |
| Cross         | Activate Flywheel and Feeder      |
| Left Bumper   | Intake Game Pieces                |
| Right Bumper  | Outtake Game Pieces               |

<figure><img src="/files/UdqZkG0vCB70IEwJCCJB" alt=""><figcaption></figcaption></figure>

More information on programming gamepads for use with your robot can be found at [Hello Robot - Using Gamepads](https://docs.revrobotics.com/duo-control/hello-robot-blocks/using-a-gamepad).

{% hint style="info" %}
The REV USB PS4 Compatible Gamepad (REV-31-2983) has two remappable M-buttons on the back side of the controller. For this program, we advise reprogramming them to be the Circle and Square buttons!

[Please see the guide here for how to remap](https://docs.revrobotics.com/rev-crossover-products/gamepad/remapping-guide).
{% endhint %}

## Blocks Program Download:

{% file src="/files/dXvK5J8VwqVD7yhiGKqP" %}

## Programming Walkthrough Video

{% embed url="<https://youtu.be/Kd-kAgPcmgo>" %}
