> -----Original Message----- > From: Andrew Kunz [SMTP:akunz@TDIPOWER.COM] > Sent: Monday, November 06, 2000 4:12 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Multibyte words and Interrupts > > Yes, and it's rather simple. > > > DI (); // entering critical section > > EI (); // ISR can use them now. > > Andy > > > The trouble is, because the main loop is pretty much only updating these variables, the interrupts would be disabled most of the time! Mike -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu