Jan-Erik Soderholm wrote: >Laszlo Zsolt Nagy wrote : > > > >>...But what happens when a higher priority >>interrupt occurs... >> >> > >Do not enable interrupt priorites. >I'm absolutly sure that you have *no* need >of them at this moment. > > Of course. Just I was curious. I would like to learn PIC programming, and I could not figure out the right code pattern from the reference PDF. The problem with the reference is that is does not contain complete example programs. You need to use deduction before you can write your own program. Reading the specs 10 times haven't lit up the bulb in my brainless head. :-) Les -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist