Got the basic LED driver code  written.