XC8 V2.## Compiler

https://microchipdeveloper.com/xc8:moving-to-xc8-2-0 V2.00 of the XC8 compiler is quite different to V1.## versions, various things are broken / change: Uses C99 instead of C90 (you can still use C90 if you want to – see https://microchipdeveloper.com/xc8:moving-to-xc8-2-0 ) If you don’t want to implement this C99 changes This guide is based on moving up to C99, but […]

Read More

Peripheral Libraries

Newer versions of XC8 want you to use the “MPLAB Code Configurator” when using any peripheral. Using the old peripheral libraries If you don’t want to use the MPLAB Code Configurator you can still get the old peripheral libraries by downloading and installing “PIC18F Legacy Peripheral Libraries v#.#” from the microchip compilers page. Install it […]

Read More

.New XC8 Project

New XC8 Projects Which XC8 Compiler Version? XC8 V2.## You need to change to using the Microchip Code Configurator. Old peripheral libraries can still be installed in theory, although we ran into compile issues when we tried to use.  Better to make the move to the new setup and code usage examples provided by the […]

Read More