Page 1 of 1

PIC12F1822 UART problem [Solved]

Posted: Fri Oct 26, 2018 6:04 am
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

Re: PIC12F1822 UART problem

Posted: Fri Oct 26, 2018 10:31 am
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 260 times
12LF1822.fcdx
(17.44 KiB) Downloaded 234 times
Let us know how you get on.

Re: PIC12F1822 UART problem

Posted: Fri Oct 26, 2018 6:32 pm
by STibor
Thank you!