Programming instructions

ROBOTC
The ROBOTC Debugger
©
Carnegie Mellon Robotics Academy / For use with VEX
®
Robotics Systems
The ROBOTC Debugger Sensors
Reference
To congure the sensors connected to
your microcontroller, open the Motors
and Sensors Setup from the Robot menu
in ROBOTC.
Digital sensors (Bumper, Limit, Encoder, Ultrasonic) can be congured on the “VEX 2.0 Digital Sensors
1-12” tab, and analog sensors (Light, Line Follower, Potentiometer, Accelerometer) can be congured
on the “VEX 2.0 Analog Sensors 1-8” tab. To congure a sensor, rst locate the row that aligns with
where the sensor is plugged in on the Cortex. For example, “dgtl2” is short for DIGITAL Port 2 on the
Cortex. Next, give the sensor a custom name and dene its sensor type in the dropdown menu. After
applying your chages, redownload your program to the microcontroller to have the changes take
effect in the Sensor debug window.