You are correct that MCC is not supported for the PIC16F819, it was quite simple to check, run mplabx, create a new project targeting the chip and click MCC.
The box that pops up provides the comment 'How to fix this: change your project device to one supported by the MCC content types.'
You should be able to get something running quickly enough just clicking 'Window->Target Memory Views->Configuration Bits'
Change FOSC to INTOSCIO, WDTE to OFF and click 'Generate Source Code to Output' and add that to your main.c, compile and program with your
pickit5 programmer ( assuming you have a pickit5 programmer ).
// PIC16F819 Configuration Bit Settings
// 'C' source line config statements
// CONFIG
#pragma config FOSC = INTOSCIO // Oscillator Selection bits (INTRC oscillator; port I/O function on both RA6/OSC2/CLKO pin and RA7/OSC1/CLKI pin)
#pragma config WDTE = OFF // Watchdog Timer Enable bit (WDT disabled)
#pragma config PWRTE = OFF // Power-up Timer Enable bit (PWRT disabled)
#pragma config MCLRE = ON // RA5/MCLR/VPP Pin Function Select bit (RA5/MCLR/VPP pin function is MCLR)
#pragma config BOREN = ON // Brown-out Reset Enable bit (BOR enabled)
#pragma config LVP = ON // Low-Voltage Programming Enable bit (RB3/PGM pin has PGM function, Low-Voltage Programming enabled)
#pragma config CPD = OFF // Data EE Memory Code Protection bit (Code protection off)
#pragma config WRT = OFF // Flash Program Memory Write Enable bits (Write protection off)
#pragma config CCPMX = RB2 // CCP1 Pin Selection bit (CCP1 function on RB2)
#pragma config CP = OFF // Flash Program Memory Code Protection bit (Code protection off)
// #pragma config statements should precede project file includes.
// Use project enums instead of #define for ON and OFF.
#include <xc.h>
int main(void) {
while(1) {
}
}
Add some code to set a pin as output, toggle the pin and add an LED.
Your next step is to find out how to do I2C, good luck