|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: using mplab with vex
The Vex Controller is definately based on the PIC18F8520 not the PIC18F8722 plus some of the aliases are named different for the rxData and txData data structures. The PWM stuff is different as well.
But just use the VEX default code, set the MLABS IDE device to PIC18F8520 and load the 8520 library and linker script and you should be set to go. Some of Kevin's code, particularly the serial stuff has an include for the 8722.h file so this should be changed to 8520.h. Oh, and remember the slow loop is not 26ms is more like 18ms. I have ported over the new structure that Kevin wrote this year to the VEX but I have not been able to get more than 4 PWM's working. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using a VEX Receiver with Non-Vex Equipment | akaria | VEX | 26 | 06-09-2008 00:55 |
| Can't enter Vex autonomous mode when using MPLab | Redneck | Programming | 4 | 23-11-2007 01:16 |
| Encoder Help with VEX and MPLAB | qnetjoe | Programming | 5 | 11-03-2007 21:04 |
| Vex Programming with MPLAB and IF loader | Joohoo | Programming | 3 | 27-07-2006 18:18 |
| using the MPLAB IDE MPLAB SIM simulator | WizardOfAz | Programming | 1 | 03-11-2003 01:24 |