>> PIC12C508, Internal OSC, Internal reset, no watchdog. I now understand the setting of OSCCAL in code thank to your help. I have a timer period of 60 seconds delay. On the simulator the delay is spot on. But when I run the code on a real device it is about 2 second slow. Any suggested ideas...? Yeah, live with it. That's about 3% off, which is within the specs of the internal oscillator at the right OSCCAL value, if I remember right (I don't have the data sheet in front of my right now). If you need better accuracy, you will need some sort of external reference or external oscillator. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads