https://deepbluembedded.com/interfacing-16x2-lcd-with-pic-microcontrollers-mplab-xc8/
Interfacing 16x2 LCD With PIC Microcontrollers | MPLAB XC8