Try out the simplest program which you are sure it is working with LCD.
From there, slowly add in more function and verify every time you add in a function to minimize the scope you need to debug. As Allen pointed out, get back the code you confirm it works with LCD, from there, add in function and always verify the small portion of code you add it.