![]() |
ADC problem
All of our analog inputs appear to be outputting the same value, that of channel 1. We are using the ADC code from Kevin's site, integrated into his camera code. We don't know what is wrong with this code...
Can anyone help us? or had same problem? |
Re: ADC problem
Posting the code that you're using is probably the best way to get help...
|
Re: ADC problem
If you're using Kevin's ADC code, you cannot use the usual Get_Analog_Value() function. I don't have the files handy to check, but the proper function to use is documented in his code.
(You also need to make sure you've defined the proper number of analog channels; that too is documented.) |
Re: ADC problem
I can't put any code here because we don't even know what the problem is...
it's so sad that we don't even know the problem... we used Get_ADC_Result(channel number) function from kevin's code to get the value. And we set it to the analog inputs we needed... but when we turn on the robot and try to get data, we are getting 1888 for all of them... And when we change one thing, everything changes too. |
Re: ADC problem
Quote:
-Kevin |
| All times are GMT -5. The time now is 01:33. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi