Hello Guys...
Pa help naman sa code.Hindi ko kasi makuha ung strings from Serial. E2 ung code ko :
READ_GSM:
Clear varx ' Clear counter VarX
Repeat ' Make a loop as dictated by VarX
Globalbuffer[varx]="#" ' Fill array with "#" character
Inc varx ' Increment counter
Until varx = 120 ' Finish the job
DelayMS 50 ' Wait
GET_MESSAGE:
HSerIn 100,TIMEOUT1,[Wait(34,43,54,51),Str LASTNUMBER\10,SKIP 27,Str display\2,Str duration\3,Str PASSCODEBUFFER\6,Str Globalbuffer\40]
TIMEOUT1:
Str phoneNumber =Str LASTNUMBER
'
' Let's see now if a message is present at memory location 1
' Phone will return "+CMS ERROR: 321" if no message and obviuosly "OK"
' if the memory is loaded.
'
dun sa tapat ng Str phoneNumber =Str LASTNUMBER ako may problem.
Pero pag namn bigla nag reply ako sa code :
HSerOut ["AT+CMGS=",34,"+63",Str LASTNUMBER,34,13,"Display 1 is already displaying message,Please wait ",Dec display1Counter, " minutes and Try again.",CTRL_Z]
Ok namn xha,nakukuha nya ung variable na LASTNUMBER...
Please help me...
Thanks