PIC16F18426 Compiler error.
Posted: Fri Feb 06, 2026 9:35 am
Hello,
I ported a project from PIC16F1825 to PIC16F18426. PIC16F18426 does not have MIDI component and DAC component functions. If I create a project with only these two components, I get an error message.
new project:
I ported a project from PIC16F1825 to PIC16F18426. PIC16F18426 does not have MIDI component and DAC component functions. If I create a project with only these two components, I get an error message.
new project:
- https://www.flowcode.co.uk
Error creating C source code:
test-18426.c : 208 : error : Syntax error
Autoclose turned off
TERMINATED
- E:\Flowcode\V10\2025\Bambledrive\Final>"C:\Program Files\Microchip\xc8\v2.50\bin\xc8-cc.exe" -mcpu=16F18426 "Bambledrive-16F18426-V.2.5.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_DAC.c:298:1: error: (192) undefined identifier "DACCON0"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_DAC.c:311:1: error: (192) undefined identifier "DACCON1"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_DAC.c:317:1: error: (192) undefined identifier "DACCON0"
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_UART.c:590:1: error: (192) undefined identifier "RX1DTPPS"
(908) exit status = 1
Error returned from [xc8.exe]
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
TERMINATED