Hi,
I have the following piece of code:
to which I get the following answer:
QQQQ
145 145
146 165
Rx 65 "A"
147 165
Rx 84 "T"
148 165
Rx 43 "+"
149 165
Rx 67 "C"
-
-
-
-
160 165
Rx 13 "
"
161 165
Rx 10 ""
162 165
Rx 79 "O"
163 165
Rx 75 "K"
164 165
Rx 13 "
"
165 165
Rx 10 ""
PPPP
Rx 65 "A"
Rx 84 "T"
Rx 43 "+"
Rx 67 "C"
Rx 77 "M"
Why does it continue writing after "PPPP" - it should continue with the pgm? I haveused the same piece of code in a previous part of the pgm without any problems.
Can anyone help?
best regards
torben
I have the following piece of code:
Code:
sertxd ("QQQQ",cr,lf)
sertxd (#ptr," ",#hSerPtr,cr,lf)
hSerOut 0, ( "AT+CMGL=",$22,"ALL",$22,cr)
pause 2000
do while ptr <> hSerPtr
b0 = @ptrInc
sertxd (#ptr," ",#hSerPtr,cr,lf)
SerTxd ( "Rx", tab, #b0, tab, $22, b0, $22, cr,lf )
loop
sertxd ("PPPP",cr,lf)
QQQQ
145 145
146 165
Rx 65 "A"
147 165
Rx 84 "T"
148 165
Rx 43 "+"
149 165
Rx 67 "C"
-
-
-
-
160 165
Rx 13 "
"
161 165
Rx 10 ""
162 165
Rx 79 "O"
163 165
Rx 75 "K"
164 165
Rx 13 "
"
165 165
Rx 10 ""
PPPP
Rx 65 "A"
Rx 84 "T"
Rx 43 "+"
Rx 67 "C"
Rx 77 "M"
Why does it continue writing after "PPPP" - it should continue with the pgm? I haveused the same piece of code in a previous part of the pgm without any problems.
Can anyone help?
best regards
torben