PIC12F1822 UART problem [Solved]

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

PIC12F1822 UART problem [Solved]

Post by STibor »

Hello,

An error message is displayed when using the PIC12F1822 UART component.
C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_UART.c: FC_CAL_UART_Init_1()
370: APFCON = APFCON & ~();
^ (195) expression syntax
373: APFCON = APFCON & ~();
^ (195) expression syntax
(908) exit status = 1
(908) exit status = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1
Attachments
pic12f1822test.fcfx
(8 KiB) Downloaded 274 times
Last edited by STibor on Sat Oct 27, 2018 6:32 am, edited 1 time in total.

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:

Re: PIC12F1822 UART problem

Post by Benj »

Hello,

Thanks for letting us know. I have now found and fixed the problem for you.

Simply copy the attached files into your "Flowcode 7/FCD/PIC" folder and restart Flowcode.
12F1822.fcdx
(17.43 KiB) Downloaded 291 times
12LF1822.fcdx
(17.44 KiB) Downloaded 269 times
Let us know how you get on.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: PIC12F1822 UART problem

Post by STibor »

Thank you!

Post Reply