Hello All:
I need the Timer1 work as Monostable with certain ON and certain OFF time and should be triggered by Interrupt . I meant when interrupt happened should trig the monostable ( timer)
Thank you in advance for help .I dont like use extra hardware in my circuit.
hamiri1969:
Hello All:
I need the Timer1 work as Monostable with certain ON and certain OFF time and should be triggered by Interrupt . I meant when interrupt happened should trig the monostable ( timer)
Thank you in advance for help .I dont like use extra hardware in my circuit.
Sounds as if you want to create "pulses" of a certain "frequency" with a given "duty cycle" while the pulse is HIGH.
Any ideas about
- the frequency to create pulses with?
- the duration of each pulse?
- the accuracy needed for frequency and duration of pulses?
Is it more days, hours, minutes, seconds, milliseconds, microseconds or what?
thanks a lot , I did it , I respect your help
A monostable is normally triggered on for a given time and then it is normally off until triggered once again.
So don't see a need to have an off time if it is triggered with interrupt.
Overall, unless I missed something, basically interrupt function, delay on and then off again and wait for next interrupt?