VEX2 Sensors Overview
(→Line Follower) |
|||
| Line 82: | Line 82: | ||
| | | | ||
=== Line Follower === | === Line Follower === | ||
| − | [[File: | + | [[File:vex_linefollower.png]] |
<br /> | <br /> | ||
The Light sensor, also known as the Reflection sensor, returns values ranging between 0 and 4095. 0 is the lightest reading and 4095 is the darkest. | The Light sensor, also known as the Reflection sensor, returns values ranging between 0 and 4095. 0 is the lightest reading and 4095 is the darkest. | ||
| Line 119: | Line 119: | ||
|- | |- | ||
| | | | ||
| + | |||
=== Gyro === | === Gyro === | ||
|- | |- | ||
Revision as of 11:50, 15 February 2012
|
Main >> CORTEX >> Sensors Overview |
| For ROBOTC CORTEX Sensor functions, check out the CORTEX Sensor Functions page! |
|
The VEX 2.0 Cortex is equipped with 20 sensor ports. There are 8 Analog Sensor Ports and 12 Digital Sensor Ports. Note that unlike the VEX - PIC microcontroller, all Analog sensors must be in Analog ports, while all Digital sensors must be in Digital ports. There are a variety of functions and variables used for configuring these ports and accessing their values. Configuring sensors can be complicated. ROBOTC has a built-in wizard that can be used to configure the VEX 2.0 Cortex sensors. The wizard contains a number of PC windows that allow you to set the following fields for the sensor:
|
|
Analog Sensors

