Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
thanxGordz said:most of it can be done with simple counters and a real time interupt. In the interupt service routine ripple through each counter. Say the interupt happenes every second, increment the seconds counter each time and see if it has reached sixty. When it does reach sixty, clear it and increase the minutes counter by one and so on until you are counting hours, days, months and years.
thanx man i will do thatPommie said:If you download the 16F88 data sheet you will find the code you require on page 77 in example 7-3. Aren't Microchip a nice company.
BTW, don't use the interrupt, just poll the timer1 bit.
Mike.
engkhlaif said:thanx man i will do that
and do u think that will run on PIC16F877A
thanx again i will try the code
thanx for ur hintPommie said:If you download the 16F88 data sheet you will find the code you require on page 77 in example 7-3. Aren't Microchip a nice company.
BTW, don't use the interrupt, just poll the timer1 bit.
Mike.