Getting Error when using UART on 16F1825
Posted: Tue Mar 16, 2021 11:04 am
Hi,
i am trying to use UART with device 16F1825 and i am getting the error below.
When i remove the UART components from the project, it compiles with no errors.
I would like to configure the uart so i can set the baud rate value at 1200 using C code.
is there anyone how faced the same issue?
Thanks in advance
George
Title:
Description:
Device: PIC.16F.16F1825
Generated by: Flowcode v7.3.0.5
http://www.matrixtsl.com
Launching the compiler...
Build date: Jan 24 2017
Part Support Version: 1.41
Copyright (C) 2017 Microchip Technology Inc.
370: APFCON0 = APFCON0 & ~(1<<);
(195) expression syntax ^
373: APFCON0 = APFCON0 & ~(1<<);
(195) expression syntax ^
(908) exit status = 1
(908) exit status = 1
FINISHED
i am trying to use UART with device 16F1825 and i am getting the error below.
When i remove the UART components from the project, it compiles with no errors.
I would like to configure the uart so i can set the baud rate value at 1200 using C code.
is there anyone how faced the same issue?
Thanks in advance
George
Title:
Description:
Device: PIC.16F.16F1825
Generated by: Flowcode v7.3.0.5
http://www.matrixtsl.com
Launching the compiler...
Build date: Jan 24 2017
Part Support Version: 1.41
Copyright (C) 2017 Microchip Technology Inc.
370: APFCON0 = APFCON0 & ~(1<<);
(195) expression syntax ^
373: APFCON0 = APFCON0 & ~(1<<);
(195) expression syntax ^
(908) exit status = 1
(908) exit status = 1
FINISHED