Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   Interupts on Vex in MPLab (http://www.chiefdelphi.com/forums/showthread.php?t=47568)

Andrew Schreiber 22-05-2006 19:43

Interupts on Vex in MPLab
 
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 24-05-2006 08:32

Re: Interupts on Vex in MPLab
 
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.


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

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