This is a multi-part message in MIME format. --------------3FE4ED830BDD9A0E1FB34962 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > Instead of 'preloading' with a 8, try adding 8 to TMR0 each interrupt. > >This should do it. > >This accounts for the fact that TMR0 might _not_ be zero when you get into >the interrupt routine. In fact it is highly unlikely that it will be! This is totally true. You also have to consider that loading (and preloading) "clocked" with a value of 249 will result in 249 decrements to reach zero (instead of the 250 you are looking for) so try using 250 as the pre-loaded value. --------------3FE4ED830BDD9A0E1FB34962 Content-Type: text/x-vcard; charset=us-ascii; name="promero.vcf" Content-Description: Card for promero Content-Disposition: attachment; filename="promero.vcf" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by silena.insitel.com.co id IAA07747 begin:vcard=20 n:Romero Plaza;P=E1vel Ernesto tel;cell:5489528 tel;fax:6-7444829 tel;home:6-7464233 tel;work:6-7444829 x-mozilla-html:TRUE url:www.insitel.com.co org:Insitel Ltda.;Research & Development adr:;;Calle 21 # 16 - 46 Piso 7;Armenia;Quind=EDo;;Colombia version:2.1 email;internet:promero@insitel.com.co title:Hardware Engineer fn:P=E1vel Ernesto Romero Plaza end:vcard --------------3FE4ED830BDD9A0E1FB34962-- -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads