|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Gyro Implementation
Okay, so now I got the gyro code all up and going. I am now working on installing the ADC.
I get to the part where is says to make all the analog inputs = INPUT; So I have this code: rc_ana_in01 = rc_ana_in02 = rc_ana_in03 = rc_ana_in04 = INPUT; rc_ana_in05 = rc_ana_in06 = rc_ana_in07 = rc_ana_in08 = INPUT; rc_ana_in09 = rc_ana_in10 = rc_ana_in11 = rc_ana_in12 = INPUT; rc_ana_in13 = rc_ana_in14 = rc_ana_in15 = rc_ana_in16 = INPUT; above the digital inputs section in User_Initialization(). it keeps giving me a syntax error on the top line. Help? |
|
#2
|
||||
|
||||
|
Re: Gyro Implementation
The analog pins can't be configured as outputs, so that's unnecessary.
|
|
#3
|
|||
|
|||
|
Re: Gyro Implementation
But step 3 in the adc installation says:
3) On the EDU-RC, all analog inputs must be configured as INPUTs in user_routines.c/User_Initialization(). That is what I did right? |
|
#4
|
||||
|
||||
|
Re: Gyro Implementation
Quote:
-Kevin |
|
#5
|
|||||
|
|||||
|
Re: Gyro Implementation
Quote:
As others pointed out, the step you're trying to follow is only for the EDU-RC mini controller. |
|
#6
|
|||
|
|||
|
Re: Gyro Implementation
Oh wow.. totally skipped over that part.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| gyro | captainking | General Forum | 4 | 03-02-2008 22:25 |
| [FVC]: Gyro? | Tangello_angela | FIRST Tech Challenge | 1 | 23-02-2007 18:20 |
| Gyro | magical hands | Programming | 2 | 14-01-2005 20:57 |
| gyro | odin892 | Programming | 0 | 08-04-2003 09:59 |
| Gyro | archiver | 2001 | 2 | 23-06-2002 23:11 |