expression syntax error
Posted: Fri Sep 16, 2022 5:10 am
I am having an issue compiling to HEX for pic chip 16f1615.
The system returns a syntax error
test_16f1615.c: main()
480: FCV_VOLTS_IN = 0;
^ (195) expression syntax
(908) exit status = 1
(908) exit status = 1
The failure is always on the first line of the program after a C code box defining frequency.
I also note the frequency option for 16MHz is not offered in the build setup when using internal oscillator.
I have a similar project using 16f1709 , in both cases using a C code block to define speed and using both ADC and DAC within the chip and all is OK with the 16F1709 but not the 16F1615.
All programs run in the simulator OK.
What am I doing wrong?
I have attached test file with error log and the main program PIC_vaccum guage interface_v1.fcfx
The system returns a syntax error
test_16f1615.c: main()
480: FCV_VOLTS_IN = 0;
^ (195) expression syntax
(908) exit status = 1
(908) exit status = 1
The failure is always on the first line of the program after a C code box defining frequency.
I also note the frequency option for 16MHz is not offered in the build setup when using internal oscillator.
I have a similar project using 16f1709 , in both cases using a C code block to define speed and using both ADC and DAC within the chip and all is OK with the 16F1709 but not the 16F1615.
All programs run in the simulator OK.
What am I doing wrong?
I have attached test file with error log and the main program PIC_vaccum guage interface_v1.fcfx