andre abelian wrote: > I am having hard time to generate accurate 46.27 > microseconds interrupt So far this is what I got > using 16 mhz crystal 185/4=46.25 us I am not Sure > maybe this will take care of it but I was wondering > if it is possible to use any crystal with any method > to get precise timing... From 39564a.pdf (PIC18F): --------------- 14.4.4 SPECIAL EVENT TRIGGER In this mode, an internal hardware trigger is generated, which may be used to initiate an action. The special event trigger output of CCP1 resets the TMR1 register pair. This allows the CCPR1 register to effectively be a 16-bit programmable period register for Timer1. ------------------------ Mike. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body