Upgrading code from XC8 v1.30 to XC8 v2.10
I am using MPLAB X IDE v5.35.
I am trying to update a project from years ago that works and compiles correctly using XC8 v1.30.
The original project used a 20-pin PIC18F1320, which is now unsupported in the latest compiler and in MCC.
I am considering changing to a PIC18F14K22 which is supported in MCC. I am now trying to get the original code working. I reassigned all the pins to the new PIC's pins using MCC. Everything seems to be working in the code accept for the following:
OpenUSART( USART_TX_INT_OFF &
These commands are only used to initialize communication. Is there something in MCC that I might be missing? Or is there a library that I have to include? The old program file had the usart.h included but this is not recognized when I compile using XC8 v2.10.
The old project also included a delay.h file, are the delay functions now generated by MCC?
Many thanks for any help!