Log in

View Full Version : Using Interrupts


Leav
14-02-2005, 03:09
I'm having problems using interupts...

i don't understand them....

i have read the manual from IFI, and read kevin's code, but i still can't really get how is should use them.....

could someone please post a bit of code showing how to use kevin's interrupts?

Thanks!
-Leav

stephenthe1
14-02-2005, 07:22
hi,
what do you need the interrupts for? usually encoders. if so, take a look at Mr. Watson's encoder template. It has interrupts already set up for left and right drives. all you have to do is call the functions. also, take a look here. this is where I was utterly confused about encoders.

http://www.chiefdelphi.com/forums/showthread.php?t=32611&highlight=encoder