Finding Registers set in Macro - RS232

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

Moderator: Benj

Post Reply
Mark
Posts: 209
Joined: Thu Oct 19, 2006 11:46 am
Location: Bakewell, UK
Has thanked: 20 times
Been thanked: 16 times
Contact:

Finding Registers set in Macro - RS232

Post by Mark »

Hi,

I am setting up some basic RS232 comms as part of a project. I have not been able to get receive to work (send is OK) with a 16F88 but swapping (arbitrarily) to a 16F876 got it working okay with the same code. I've been using the Echo function.

My question is, however, more general:
in Flowcode 6 how do I?
1) Find the file which shows the register names of the chip used as the mnemonics in C.
(Yes I know they are the same as the Microchip documentation, but I would like to see them, as I could with FC5)
2) Find the underlying C Code for the macro functions.
(Yes, right clicking and saying show C code gives a general reference (eg for init RS232) but I needed detail as to which registers are set and with which values, again, this was moderately straightforward with FC5 but I do not now know where to look).

The project will eventually be using a 16f688, but I wanted to get some basics running first As that chip does not have the ports nicely set up on the pIns.

Thanks,

Mark

ps I am checking the comms with a PICkit Serial analyser.
Go with the Flow.

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: Finding Registers set in Macro - RS232

Post by Jan Lichtenbelt »

Dear Mark,

It is not completely clear what you are looking for.
But perhaps this can help:
http://ww1.microchip.com/downloads/en/D ... 30487D.pdf
and search for USART.
And use the RS232 example files http://www.matrixmultimedia.com/resourc ... php?id=733

Succes

Jan Lichtenbelt

Post Reply