[quote:fdc5dd1c64="kimmi"]make sure that portA is low you use buttons HIGH
and this will block you'r code
[code:1:fdc5dd1c64]A = Inkey()
If A > 0 Then
Print "AT+CALM=a" ; A
Portb.0 = 1
Waitms 50
Portb.0 = 0
Wait 3600
End If [/code:1:fdc5dd1c64]
phone response to ANY commands sent so you get "OK" and CR LF , and then it hang for 3600 sec !!!!!
AND you read phone in decimal not chrs !!! so 0 is 48[/quote:fdc5dd1c64]
how about if when a call then the whole program is turned off and no longer process
because I made a home security detection, so if that had wanted to enter the house to turn off the system by dialing :?
↧