View Single Post
  #1   Spotlight this post!  
Unread 01-19-2006, 05:40 PM
tanstaafl tanstaafl is offline
Registered User
AKA: Matt Kovacs
FRC #0931 (Perpetual Chaos)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2003
Location: St. Louis MO
Posts: 6
tanstaafl is an unknown quantity at this point
Send a message via MSN to tanstaafl
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.
__________________
A competent and self-confident person is incapable of jealousy in anything. Jealousy is invariably a symptom of neurotic insecurity