Hay, this is my first post on these forums as im pritty new to the world of prgramming. Ive done a few simple things before like making a servo track a person in a room using PIR's and using pressure sensors etc but thats about it.

What i want to do now is to create a countdown timer on a LCD display. This is only part of a much larger project im attempting but its the first step

Basically i want a countdown timer which i will either have several different periods which you can select from or be able to enter a custom figure. I need the circuit to start with for now the press of a button (Later im going to be using a RF signal to activate the circuit but one step at a time!). It also needs to be able to pause and then resume from its last time and to switch a transitor to turn on a buzzer/sounder.

Ive looked around on the forums but icant seem to find any countdown timers, all ive found are 24 hour clock types and the oylipmics timer. So i realy need to know if its going to be easier to make a new code or if its easier to adapt one thats out there.

Looking at other posts most people seemed to be worried about the accuracy but this isnt too big an issue for me.

Im currently using a p16f876a chip and i have got the hang of displaying messages on both lines 1 and two but thats where i need some guidance

Any help would be much appreciatd!

Cheers Chris