PDA

View Full Version : Interupts on Vex in MPLab


Andrew Schreiber
05-22-2006, 06:43 PM
For one of my classes i am attempting to further my understanding of interupts by using them on the Vex system. I know how to initialize them for the FRC controller. I am wondering if it is the same code to initialize them as low priority interupts on the Vex controller. Also does anyone know of sample code (not easyC) that would show how to initialize them?

foobert
05-24-2006, 07:32 AM
what interrupt did you want to use? timer0 is used already. the guys at vexlabs suggest not using them at all to avoid glitches in the pwm and the communications with the master controller. but, yeah, however you do it on the frc controller should work. i understand it's the same micro-controller as you guys used in '05.