PDA

View Full Version : Error to send caracter " using serout2 command



Sunrise77
- 29th July 2005, 18:36
Hi ..... help......
I would want to send character ASCII " using command SEROUT2. as I can make inasmuch as the character" comes recognized like character of the command? Thanks

my pbp version: 2.45
my string: SEROUT2 portc.6,188,["Hello",""",13]
error: bad token, empty string not allowed

Melanie
- 29th July 2005, 19:10
The double quotes " is ASCII character $22 hex or 34 decimal. Send it as such, just as you are doing for the Return Character 13....

SEROUT2 portc.6,188,["Hello",34,13]

Sunrise77
- 30th July 2005, 09:55
The double quotes " is ASCII character $22 hex or 34 decimal. Send it as such, just as you are doing for the Return Character 13....

SEROUT2 portc.6,188,["Hello",34,13]




TANKS melanie .......