Page 1 of 1

Tutorial for using RS232?

Posted: Thu Apr 13, 2006 10:45 am
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.

Posted: Fri Apr 14, 2006 6:26 pm
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.

Posted: Wed Apr 19, 2006 9:33 am
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.