I tried the above way but sorry its not working like this.
You can tray with SEROUT which seems working better.
Code:
Num var Byte [21]
A0 var Byte
Num[0] = "A"
Num[1] = "T"
Num[2] = "+"
Num[3] = "C"
Num[4] = "M"
Num[5] = "G"
Num[6] = "S"
Num[7] = "="
Num[8] = "+"
Num[20]= 13 ' Last array variable MUST be 13
' The above are the constant value
'From Num[9] to Num[19] load your number
Num[9[] = "4"
Num[10] = "4"
Num[11] = ?? ' etc. etc.
' dial and send the sms using the for next loop
For A0 = 0 to 20
serout Tx,T9600,[Num[A0]] ' Change baud rate as per your need.
Next A0
Al.
Bookmarks