Hi All, This is my first time posting here. I have been designing a countdown timer that uses a PIC16F872 running at 4 Mhz. It allows the user to enter in a time in seconds ranging from 00.0 to 99.9, and then press a button to start a countdown. The code uses Timer0 with a pre-scaler of 1:8 set to 133 so that it interrupts every 10 ms. Every ten interrupts, it calls a function that 'clocks' a tenth of a second. In the meantime, the chip is continuously outputting the current value for time. My issue is that while the countdown works flawlessly, I can't get any button input on PORTB. However, when I comment out my timer0 interrupt routine, and the statement where I enable the timer0 interrupt initially, the button input works just fine. I'm writing this in C using the CCS complier but I could definitely rewrite in using the PICC-Lite compiler if it would help. Any help would greatly be appreciated as I'm stumped! Thanks! -- -Erik J. Reynolds -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist