CODE FUSION!

I want to fuse 2005 accelerometer code, 2006 gyro code, 2006 camera code and 2006 default code into one Code! How can i do that?
I tried adding accelerometer.c, accelerometer.h, gyro.c, gyro.h into 2006 camera code and it compiled the code and i was happy that it worked but when i downloaded that code into the robot! Neither Gyro worked, Nor accelerometer. Can someone tell me the proper way to fuse the codes together! :slight_smile: Please and Thank You

E-mail: [email protected]

Not only do you have to have the .c and .h files as part of your project you need to have the methods called. Just including the methods will not have them do anything.

So wut should i include? and how do i do it? Can you please provide step by step instructions because many teams will come across this problem later on! Thank You

The step by step instructions you need are in the code you downloaded. Look for files named gyro_readme.txt and the like.

I understand what you are saying but I did everything as it stated in readme.txt but it doesn’t work out. So I have no idea what to do now cuz all my hard work goes down the drain if i am not able to successfuly fuse the codes

Without more information about what you’re expecting to happen and what it’s doing instead, I only have one suggestion. Look to make sure your Default_Routine() isn’t still commented out.

The default routine is fine, i checked its not commented out. I anyone has 5 minutes and if they want to do something. I think they should try fusing the code themselves because using MPLAB i wasn’t able to do it. :ahh:

if u email me with your codes in a .zip file i can fuse them together for u(possibly there may be issues with the code itself causeing the problems and things like that i will leave to you to try and fix but i will still help you as much as possible): fst79ta AT gmail DOT com