beautypg.com

Rc channel inputs – Pololu Simple User Manual

Page 80

background image

Bit 6: RC2 limit/kill switch is active (scaled value ≥ 1600).

Bit 7: AN1 limit/kill switch is active (scaled value ≥ 1600).

Bit 8: AN2 limit/kill switch is active (scaled value ≥ 1600).

Bit 9: USB kill switch is active.

Bits 10-15: reserved

127

Reset
Flags

Flags indicating the source of the last board reset. This variable does not change while the
controller is running and is not reported under the Status Tab of the Simple Motor Control Center.
You can view it in the Device Information window of the Control Center, which is available from
the Device menu, and for the first two seconds after start-up, the yellow status LED flashes a
pattern that indicates the last reset source (see

Section 3.5

).

0x04 (4): RST pin pulled low by external source.

0x0C (12): Power reset (VIN got too low or was disconnected).

0x14 (20): Software reset (by firmware upgrade process).

0x24 (38): Watchdog timer reset (should never happen; this could indicate a firmware
bug).

RC Channel Inputs

The raw and scaled signals measured on the RC channel inputs are always available through serial variable requests,
which allows programs using the serial interface to factor the channel inputs into their motor control algorithms. If no
valid signal is detected, the raw channel value is reported as 0xFFFF (65535) and the scaled channel value is reported
as 0. The Simple Motor Controller is always reading the RC input channels, even when the Input Mode is not RC.

Pololu Simple Motor Controller User's Guide

© 2001–2014 Pololu Corporation

6. Using the Serial Interface

Page 80 of 101