count down timer 12f683 4 modes
I'am very new at programming and having issues on a solution .
Using 12f683
would like 4 timer modes that will hold pin 5 high for 5 secs off for 5 secs at a time for duration of mode selected .
Modes as follows 5 mins, 10 mins, 20 mins counting down to zero then enter sleep mode when done . only one timer will be running at a time
Each mode can be selected with one push button each button press will move to next mode timer using pin 7 with led flashing mode ,
If anyone can help me figure this out I would jump for joy .
using mikro C asm is ok also .
Re: count down timer 12f683 4 modes
Create your countdown timer with a variable which contains the initial value according to your setting of switches or some serial input .
Re: count down timer 12f683 4 modes
Sounds like a plan but a bit over my head can you please give me a code example to get me stated .
Re: count down timer 12f683 4 modes
Quote:
Originally Posted by
chrisrlundberg
Sounds like a plan but a bit over my head can you please give me a code example to get me stated .
Quote:
using mikro C asm is ok also .
Sorry, this is a PicBasic forum.
Re: count down timer 12f683 4 modes
I'am also using pic-basic if any one can help it would be appreciated . Thanks .