This document provides code for a self-balancing two-wheeled robot (twin wheeler) modified to use a simplified serial protocol to control motors with an Arduino and Sabertooth motor controller. The code samples sensor inputs, runs control algorithms to maintain balance, and outputs motor control signals. It has been updated over time with improvements like a softer startup sequence, improved deadman switch functionality, and optional steering controls.