Programming instructions
ROBOTC
The ROBOTC Debugger
©
Carnegie Mellon Robotics Academy / For use with VEX
®
Robotics Systems
The ROBOTC Debugger Sensors
The Sensors debug window provides access to the current values of all sensors, digital inputs and
digital outputs congured on your microcontroller. Sensor values can be viewed and changed
using this window, but you must rst use the Motors and Sensors Setup menu to tell ROBOTC
what types of sensors are connected to which ports. Different sensors are interpreted differently
by ROBOTC and and the microcontroller, and appropriate values will not be displayed if they are
not properly congured.
Index
The index of where the current device is located (in1 - in8 for ANALOG Ports 1 - 8,
and dgtl1 - dgtl12 for DIGITAL Ports 1 - 12).
Device
Current name of the sensor. These names can be customized through the Motors and
Sensor Setup window.
Type
Displays the type of the current sensor. The type must be set using the Motors and
Sensor Setup window.
Value
Displays the current value of the sensor.
Reference
The Sensors window can be opened
by going to the Robot menu, Debug
Windows, and selecting Sensors.