> The concept is fairly similar to Olin's HAL project, in that during > the ISR a new value may be loaded into CCPR1L. However, as > Olin's writing style is quite different to mine I may have missed > something with the IRQ set-up. I know you don't like the way I write code, but you could really use something like my DBANKIF macro. All those hard coded BSF STATUS,RPn make me very nervous and they are too time consuming to check by hand. I'd rather have the assembler calculate that stuff for me. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu