LCD
LCD
#include <xc.h>
//Function Prototypes
void init_LCD(void); //Function to initialize the LCD
//Function Definitions
void msdelay (unsigned int time) //Function to generate delay
{
unsigned int i, j;
for (i = 0; i < time; i++)
for (j = 0; j < 275; j++);//Calibrated for a 1 ms delay in MPLAB
}