|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Movement | Hunter1539 | Rules/Strategy | 4 | 09-01-2008 22:06 |
| Where to insert new code? | katkana | Programming | 5 | 19-02-2005 13:47 |
| New Default Code | nukem | Programming | 2 | 12-01-2005 17:45 |
| Strange IR sensor movement with default tracker code | wun | Programming | 5 | 19-03-2004 10:51 |
| New Code Simulator Available? | authgeek1218 | Programming | 1 | 03-12-2003 13:18 |