12F1840 RS232

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

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

12F1840 RS232

Post 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
Martin

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 12F1840 RS232

Post by medelec35 »

Odd thing is RS232 works with 12LF1840.
Martin

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: 12F1840 RS232

Post by LeighM »

Hi Martin,
Thanks for the report.
Both FCDs now fixed and attached.
Thanks,
Leigh
Attachments
12LF1840.fcdx
(17.46 KiB) Downloaded 169 times
12F1840.fcdx
(17.46 KiB) Downloaded 159 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 12F1840 RS232

Post 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
Martin

Post Reply