Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   New Code - No Movement (http://www.chiefdelphi.com/forums/showthread.php?t=64005)

Guarana 13-02-2008 20:13

New Code - No Movement
 
So I was using the Default Code from IFI and it worked perfect. I needed a gyro programmed, so I was adding kevin's gyro and adc files. After having some trouble, I found his code that was completely implemented already. I downloaded that, transfered the mecanum programming to the ifi_code.c file in Default_Routine(). The problem is, the wheels will not spin at all. The victors do not get any value sent to them. I commented out all the mecanum code and just assigned the pwm's to the value '1' and still nothing spins. I tried my old code and it will spin, kevin's code just will not work.

I am using MPLAB IDE 8.0 and C18 3.1 if that makes a difference. Help.

Thanks

psy_wombats 13-02-2008 20:17

Re: New Code - No Movement
 
Try adding your code to void teleop (void) in teleop.c. That should fix the problem. If not, post the code.


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

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