On April 24, 2005 10:15 pm, Hopkins wrote: > In the 18F series there are High & Low priority interrupts. > > This may seem a bit silly :-) but when should you use each type of > interrupt? You would use a low priority on a slow device, for example, a keyboard interrupt. The keyboard can wait another couple milliseconds while you service something which needs immediate attention. You would use a high priority on something which needs to be done right away, for example, you just lost all your AC power and now you got 3 seconds worth of power before your circuit is dead. This would be a good time to forget about servicing that slow keyboard, and immediately backup all your RAM to the harddrive or non-voltile memory. Perhaps your circuit has neither a keyboard or a harddrive. Perhaps it is GPS tracking (low priority so you know how lost you are while driving) and an accident about to happen (distance meter tracking car ahead of you before deploying your airbags). -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist