|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
ADC_CHO not compiling in Kevin's code
We're trying to compile with Kevin's code using an analog input and printing it to the screen but when we tried to compile we got a code error saying that "symbol 'ADC_CH0' has not been defined"
arm_pos = Get_Analog_Value(ADC_CH0); printf ("arm position = %d\r\n",arm_pos); |
|
#2
|
||||
|
||||
|
Re: ADC_CHO not compiling in Kevin's code
Are you calling the old function for getting analog code? I believe Kevin Watson wrote replacement code for the ADC, using Get_ADC_Result(). Try using his ADC stuff, or else search the forums. There have been plenty of topics like this.
|
|
#3
|
||||
|
||||
|
Re: ADC_CHO not compiling in Kevin's code
Quote:
-Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Errors compiling Kevin's new code (pragmas) | Bryan Herbst | Programming | 11 | 31-01-2008 12:50 |
| Problem with Kevin's code | Tottanka | Programming | 5 | 04-11-2007 13:32 |
| Kevin's Code? | winners | Programming | 5 | 27-01-2006 16:32 |
| Question about kevin's code | ImmortalAres | Programming | 3 | 23-06-2005 11:13 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |