PIC18F4550 – Coding a Variable Delay April 24, 2017October 1, 2013 by Robert Hall C-Code to generate a 1 ms delay is created and calibrated using Timer 0. read more ….