|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
ROBOTC - Controller
Hey, I am trying to use robotc for programming our robot, but I don't know which analog/digital ports are.
Does anyone know what they are??? |
|
#2
|
||||
|
||||
|
Re: ROBOTC - Controller
Hi there
The Analog Ports can be access using the statements: SensorValue[in1]-SensorValue[in16] The Digital Ports can be access using the statements: SensorValue[dgtl1]-SensorValue[dgtl18] You can configure specific ports for different sensor types, or configure digital sensors to be inputs or outputs by using the Motors and Sensors Setup screen... You can find this in ROBOTC under the "Robot - Motors and Sensor Setup" menu. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free ROBOTC for all 2008 FIRST Robotics Teams! | Brandon Martus | Announcements | 12 | 01-02-2008 11:22 |
| Setting up an analog input in RobotC for IFI. | NSolarz | Programming | 2 | 30-01-2008 20:23 |
| FRC Robot Controller/Speed Controller | RoarRoar | Control System | 3 | 17-01-2008 10:41 |
| Free ROBOTC for all 2008 FIRST Robotics Teams! | timville | Programming | 0 | 09-01-2008 10:27 |
| Congrats to the Robotc Knights! | MattB703 | Thanks and/or Congrats | 0 | 18-03-2002 15:07 |