![]() |
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 |
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