Tutorial for using RS232?

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

Moderators: Benj, Mods

Post Reply
bns
Posts: 6
Joined: Sun Mar 12, 2006 1:31 pm
Location: Belgium
Contact:

Tutorial for using RS232?

Post by bns »

Hi,

Is there anybody who can give me a quick tutorial on how to use the RS232 with flowcode?
For the moment I want to use a PIC16F88 to communicate with a RS232 device which uses start-bit, 9-bit data and stopbit. But I'm having trouble to find out how to do this within flowcode.

thanks,

Bart.

bns
Posts: 6
Joined: Sun Mar 12, 2006 1:31 pm
Location: Belgium
Contact:

Post by bns »

Hi, I figured some things out myself already, I can send 8-bit data, but I need to be able to send and receive 9-bit data.
Is this possible with flowcode?

Bart.

User avatar
Steve
Matrix Staff
Posts: 3426
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Post by Steve »

It is currently not possible to send and receive RS232 data using 9 data bits. One way around this is to look at the code produced by the RS232 component and replicate this within your own 'C' icons with the modifications to make it use 9 data bits (you will need to consult the PICmicro datasheet to see how to do this).

You could even create your own 'C' functions using the "#defines" component and call these from within your own code.

Post Reply