I want to send 2 SMS messages to 2 admin phone numbers. But the problem is the SMS wont send to the 2nd phone number most of the time. I guess the delay between the 2 messages cause this issue...!! How to do it properly?
return
Code:
Wait_Button ---- ;wait until SW pressed
---- ;Debounce
call Send_SMS_1
call Send_SMS_2
goto Wait_Input
Send_SMS_1 movlw 'A'
call TX_232
movlw 'T'
call TX_232
movlw '+'
call TX_232
movlw 'C'
call TX_232
movlw 'M'
call TX_232
movlw 'G'
call TX_232
movlw 'S'
call TX_232
movlw '='
call TX_232
;
movlw '"'
call TX_232
movlw '+'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw 'n'
call TX_232
movlw '"'
call TX_232
movlw .13 ; CR
call TX_232
call Del_1Sec
;
movlw 'S'
call TX_232
movlw 'M'
call TX_232
movlw 'S'
call TX_232
movlw '1'
call TX_232
;
movlw .26 ; CTRL + Z
call TX_232
;
call Del_1Sec
call Del_1Sec
call Del_1Sec
call Del_1Sec
call Del_1Sec
call Del_1Sec
return