| ??? 05/11/03 22:05 Read: times |
#45264 - DMTF and Pulse Dialing |
SIr,
Now can some one please help me out on the issue of Pulse Dialing... like for DTMF iam using MT3271 which decode the number . But for Pulse Dialing can i use the same off-hook detection path to sent Pulses of dialing to controller using the theory that if "1" is pressed 1 pulse goes to controller if "2" is pressed 2 pulses...and if 0 is pressed then 10 pulses... For this can i use :- MOV R0,#0D ; "initial value in Pulse Counter Register" AGAIN: JB P1.0,$ ;waiting for pulses to come on the same bit where off-hook is detected Inc R0 JNB P2.1,$ ;waiting for low CJNE R0,#02D, AGAIN ; "detecting whether the dialed number is 2 or not, if 2 then its desired function is done other wise controller wait for pulses" SJMP MT8816_ADDRESS is it only software that is matter or should hardware is also needed for detecting Pulse Dialing any suggestions how to detect pulse dialing... |



