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.
Finding Registers set in Macro - RS232
Moderator: Benj
- 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
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
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