On 2/24/06, delly sunny wrote: > I would like to design a 1ms delay using timer interrupt. I have selected PIC12F508/509. However, my codes are not working. could anyone help me to point out my mistake? thank you very much! Define not working. Is the interval wrong? Are you never getting the interrupt? What is happening? Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist