RS232 Special Characters

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
PINTO
Flowcode v5 User
Posts: 71
Joined: Fri Nov 03, 2006 2:28 pm
Location: RSA
Been thanked: 1 time
Contact:

RS232 Special Characters

Post by PINTO »

How do I Insert the special characters in the RS232 Macro?
I've inserted a word "Press Start" on the RS232 macro and I need to insert a carriage return \r to change the next cycle to a new line.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hello Pinto

You can send special characters by using their decimal ASCII values.

Carriage Return = 13
Comma = 44
Quotes = 34
Ctrl-Z = 26

Make sure you send the number without quotes around and everything should work as expected.

PINTO
Flowcode v5 User
Posts: 71
Joined: Fri Nov 03, 2006 2:28 pm
Location: RSA
Been thanked: 1 time
Contact:

RS232 Special Characters

Post by PINTO »

Hi Benj,
It worked fine when I simulated on Proteus Virtual Monitor, although it had no effect on Flowcode3 RS232 simulator.

Thanks

Post Reply