View Single Post
  #1   Spotlight this post!  
Unread 20-01-2006, 16:16
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: problems using gyro/adc code with camera default code

Quote:
Originally Posted by tanstaafl
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.
The Gyro/Adc Code from 2006 already has the camera code for this year. Are you trying to do something else?