Go to Post A lot of people posting without first hand knowledge, that's fun. - Aren_Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 06-02-2008, 14:07
M_dalgashon M_dalgashon is offline
Registered User
FRC #2230
 
Join Date: Jan 2008
Location: Israel
Posts: 3
M_dalgashon is an unknown quantity at this point
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
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 23:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi