On Wed, 17 Dec 2008 11:24:40 -0700, "Vitaliy" said: > Why "about once per second"? I don't see the clock specified anywhere. You caught me off guard, "clock" is a little quaint for me, but if you meant oscillator, in HiTech you specify the type of oscillator in the __CONFIG line. And the default is 4MHz on that part for the internal oscillator. To select a different frequency you would set the appropriate registers for the prescaler or to choose the normal/LF internal oscillator. You must use CCS, which has macros and is different. HiTech tends to be a little stripped down. Cheerful regards, Bob -- http://www.fastmail.fm - mmm... Fastmail... -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist