MikeyMustang
03-06-2010, 09:03 AM
Forum,
I am a newbie and I am trying to something that should be easy but for some reason escapes me. Here is what I have working when the phone rings I have P0 detecting the pulse low from the RI (ring indicator) of the DAA which only goes low DURING the ringing process and latch a relay (p12) to pick up the phone on the first ring...That all works
What I want is to call the phone and answer on the first ring and keep P12 latched for 10-15 minutes and then drop p12 and wait for another low on P0 (remember P0 is only low during the ring process)
here is what works for the first ring and stay latch forever
RI_ VAR IN0
MAIN:
IF RI_ = 0 THEN
HIGH 12
ENDIF
GOTO MAIN
I have tried different timers and pausing but all seem to make the P12 relay pulse? I know this is easy but for some reason it escapes me for now
Thanks for the help
Mike
I am a newbie and I am trying to something that should be easy but for some reason escapes me. Here is what I have working when the phone rings I have P0 detecting the pulse low from the RI (ring indicator) of the DAA which only goes low DURING the ringing process and latch a relay (p12) to pick up the phone on the first ring...That all works
What I want is to call the phone and answer on the first ring and keep P12 latched for 10-15 minutes and then drop p12 and wait for another low on P0 (remember P0 is only low during the ring process)
here is what works for the first ring and stay latch forever
RI_ VAR IN0
MAIN:
IF RI_ = 0 THEN
HIGH 12
ENDIF
GOTO MAIN
I have tried different timers and pausing but all seem to make the P12 relay pulse? I know this is easy but for some reason it escapes me for now
Thanks for the help
Mike