2X16 Liquid-crystal Display is interfaced to the PIC18 using a custom 4-bit command/data bus. Example code enabling the PIC to handshake with the HD44780 LCD controller is illustrated. PIC18F4550 LCD Interface
The 18F4550 has 4 timers. How they are configured to measure time is calculated and coded. PIC18F4550 Timers
C-Code to generate a 1 ms delay is created and calibrated using Timer 0. read more ….