6.7. Sample Code

6.7.1. Arduino Examples
6.7.2. Orangutan Examples
6.7.3. Cross-platform C Example
6.7.4. Windows C Example
6.7.5. Bash Script Example
6.7.6. CRC Computation in C

This section contains example code for controlling the Simple Motor Controller over TTL serial or over the USB virtual serial port. These examples use the Compact Protocol without CRC error detection, so they require the Simple Motor Controller to be in Binary serial mode with the CRC Mode set to Disabled. For information about the serial commands used by this sample code, refer to Section 6.2.1.

Related Products

Pololu Simple Motor Controller 18v7 (Fully Assembled)
Pololu Simple Motor Controller 18v7
Pololu Simple High-Power Motor Controller 18v15 (Fully Assembled)
Pololu Simple High-Power Motor Controller 18v15
Pololu Simple High-Power Motor Controller 24v12 (Fully Assembled)
Pololu Simple High-Power Motor Controller 24v12
Pololu Simple High-Power Motor Controller 18v25
Pololu Simple High-Power Motor Controller 24v23
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors