|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
problems using gyro/adc code with camera default code
hi everyone. I've been working on integrating code for the gyro/adc into the default camera stuff, but after I've made sure I've done everything the two readmes (from kevins' frc_gyro and frc_adc) tell me to do, mplab tells me that in user_routines_fast.c there are several unknown members. here's the error list below
frc_camera_gyro\user_routines_fast.c:91:Error [1205] unknown member 'TMR2IF' in '__tag_126' C:\frc_camera_gyro\user_routines_fast.c:91:Error [1205] unknown member 'TMR2IE' in '__tag_125' C:\frc_camera_gyro\user_routines_fast.c:91:Error [1124] scalar operands expected for '&&' operator C:\frc_camera_gyro\user_routines_fast.c:96:Error [1205] unknown member 'ADIF' in '__tag_126' C:\frc_camera_gyro\user_routines_fast.c:96:Error [1205] unknown member 'ADIE' in '__tag_125' C:\frc_camera_gyro\user_routines_fast.c:96:Error [1124] scalar operands expected for '&&' operator C:\frc_camera_gyro\user_routines_fast.c:98:Error [1205] unknown member 'ADIF' in '__tag_126' C:\frc_camera_gyro\user_routines_fast.c:98:Error [1131] type mismatch in assignment C:\frc_camera_gyro\user_routines_fast.c:116:Warnin g [2058] call of function without prototype C:\frc_camera_gyro\user_routines_fast.c:116:Error [1117] scalar type expected in 'if' statement C:\frc_camera_gyro\user_routines_fast.c:116:Error [1117] scalar type expected in 'if' statement C:\frc_camera_gyro\user_routines_fast.c:176:Warnin g [2058] call of function without prototype anyone have any ideas? I know java, but I'm kind of in the dark with c, so any help is greatly appreciated. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| interrupt in default code | Gal Longin | Programming | 5 | 04-02-2006 20:10 |
| If you could write the default code... | Kevin Watson | Programming | 18 | 04-08-2005 10:41 |
| Combined Camera and PID/Encoder Code | Terry Sherman | Programming | 1 | 14-03-2005 17:59 |
| Best Way To Insert Autonomous Code Into Default then load help.? :-)? | gemccnp | Programming | 2 | 05-02-2005 18:58 |
| CMUCam2 Camera Code - Are important parts commented out? | Mr. Lim | Programming | 4 | 14-01-2005 12:11 |