-
Timers & Counters
Dear:
First apologize because my English is not good and second I am an amateur beginner.
I need to count with a PIC16F887, a timed output at up to 30 seconds when receiving an input signal.
I count also how long (max. 6 seconds) it is kept with 1an input (through a switch), this is for simultaneous input 4. Note that these 4 inputs and pulse timer can be activated simultaneously.
Is this possible to doin this PIC and PicBasic?
If possible I could give some help.
From already thank you very much.
-
Re: Timers & Counters
Start with Darrel Taylor's "Elapsed Timer" code.
You don't really need to bother with keeping the real time,
but once implemented you can easily check the Secondschanged variable
and count seconds at any time from there.
A "Ticks" (1/100th of a second) variable is also available.
Cheers, Art.
-
Re: Timers & Counters
ok, thanksArt!,trywith itonce IinternalizemoreDarrelTaylor's "ElapsedTimer" code.
Thanks for responding!