Go to Post There's nothing like getting your butt kicked by the best! :D - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
interrupt in default code Gal Longin Programming 5 02-04-2006 08:10 PM
If you could write the default code... Kevin Watson Programming 18 08-04-2005 10:41 AM
Combined Camera and PID/Encoder Code Terry Sherman Programming 1 03-14-2005 05:59 PM
Best Way To Insert Autonomous Code Into Default then load help.? :-)? gemccnp Programming 2 02-05-2005 06:58 PM
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 01-14-2005 12:11 PM


All times are GMT -5. The time now is 07:03 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi