|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We need help with the analog inputs
Hello, I'm from team 2230, and we use potentiometers to check axis. Last year we used one potentiometer, this year we use two of them... But when we connect them both to analog inputs 1 and 2, for example, the rc only reads one of them, the one on analog input 1. We tried switching them, moving them to other pins, no use.
We have another problem, which may be connected... When we write the following piece of code: temp = Get_Analog_Value(rc_ana_in01); We get the following error: M:\FRC2008\Programming\potentiometer\teleop.c:185: Error [1105] symbol 'ADC_CH0' has not been defined To the best of my knowledge, ADC_CH0 is defined... Can someone help? Thank you very much Team 2230 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code to Read the Binary Inputs on Analog Buttons | Kingofl337 | Control System | 5 | 14-03-2007 11:01 |
| Help! Analog Inputs!! | brennerator | Programming | 7 | 11-02-2007 15:48 |
| Dashboard with analog and dig inputs | Andrew Schreiber | National Instruments LabVIEW and Data Acquisition | 1 | 13-02-2006 22:48 |
| Need help with Gyro = Analog Devices ADXRS150EB | Jack Jones | Technical Discussion | 9 | 18-07-2005 07:00 |
| How do the Analog Inputs work? | JBotAlan | Electrical | 3 | 07-01-2005 00:11 |