On Sun, 26 Jan 2003 22:07:15 -0600, Nick Veys wrote: CCP1IF =3D 0; =A0 =A0 =A0 =A0 =A0 // clear CCP1 flag CCP1IE =3D 1; =A0 =A0 =A0 =A0 =A0 // enable CCP1 interrupt GIE =3D 1; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0// enable interrupt= s You haven't enabled PEIE in INTCON1. I have just noticed this is in 'C' I= don't know if it's of anyhelp but if you look at the sprinkler project o= n the piclist you'll see in Sprinkler.c the setup using compare for the 8= 73. Colin --=20 cdb, bodgy1@optusnet.com.au on 27/01/2003 I have always been a few Dendrites short of an Axon and believe me it sho= ws. Light travels faster than sound. That's why some people appear bright unt= il they speak! -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads