Page 1 of 1

12F1840 RS232

Posted: Sun Mar 04, 2018 5:11 pm
by medelec35
When adding RS232 to 12F1840 target, the following error message occurs during compiling:

Code: Select all

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
Martin

Re: 12F1840 RS232

Posted: Mon Mar 05, 2018 1:14 pm
by medelec35
Odd thing is RS232 works with 12LF1840.

Re: 12F1840 RS232

Posted: Mon Mar 05, 2018 1:43 pm
by LeighM
Hi Martin,
Thanks for the report.
Both FCDs now fixed and attached.
Thanks,
Leigh

Re: 12F1840 RS232

Posted: Mon Mar 05, 2018 4:11 pm
by medelec35
Thanks Leigh.
I can confirm 12F1840 RS232 now working.
Not had a chance to test alternate function, but when I do will let you know if that's working as well.

Martin