stamp
KARIM102
Posts: 75
hi everyone,
could someone give me a coding to Receive a sms to my GE864 and make this sms as a output from my basic stamp using PBAISE lug plz
thx
could someone give me a coding to Receive a sms to my GE864 and make this sms as a output from my basic stamp using PBAISE lug plz
thx
Comments
I would like to know how make my GE864 read the SmS messge which i send it to him by other Gsm!!!! in stamp mircontroller!!!!!!!!!
Take a look at the datasheet for the commands.
' {$STAMP BS2}
' {$PBASIC 2.5}
'
[ I/O Definitions ]
GPRS_RX PIN 0
GPRS_TX PIN 1
Letter VAR Word
Go VAR Word
'
[ Constants ]
GPRS_Baud CON 84
DO
SEROUT GPRS_TX, GPRS_Baud, ["AT+CMGF=1", CR]
SERIN GPRS_RX, GPRS_Baud, [WAIT("+CNMI:"), Letter]
IF Letter = Go THEN
HIGH 15
ENDIF
LOOP
"i wanna send Go to make PIN 15 goes high"
can you help me with this???
best wishes