Go to Post Patents are an issue of law which, alas, has little to do with engineering or common sense. - Mike Betts [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
  #4   Spotlight this post!  
Unread 11-02-2006, 22:51
bombadier337's Avatar
bombadier337 bombadier337 is offline
1337 U53R
AKA: Shaver
None #1541 (MidloCANics)
Team Role: College Student
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Richmond VA
Posts: 123
bombadier337 is just really nicebombadier337 is just really nicebombadier337 is just really nicebombadier337 is just really nice
Send a message via AIM to bombadier337
Re: Default Code

I'm not looking at the code, so I'm doing this from memory but...

There is a routine in user_routines.c called default_routine, which is where all the mapping is done from the controls. This routine is all written, however, it is never called in process_data_from_master_up. Basically call default_routine() before the putdata(&txdata) call and it should do it. The better way to do it is find the comments saying something like "IFI default code" (it's a pretty big block of code), which is all commented out. It has the call to default_routine(), and a bunch of other stuff. If you uncomment all the and put the putdata(&txdata) call after that, you should be fine. Hope that helps!

If you have any questions my IM is on my profile, I'm on a lot and I'd be glad to help you as much as I can.
__________________
Midlothian High School - Team 1541
2005 Radioshack Innovation in Control - NASA/VCU Regional
2005 Rookie Inspiration - NASA/VCU Regional
 


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
Out of the Box Camera Code russell Programming 9 21-10-2009 05:28
Modified default code gives "code violation" scottmso Programming 8 10-02-2006 23:17
default camera code edit Windward Programming 8 25-01-2006 18:33
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 19:08.

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