hey floresta,
i'm quite sure the code is right because this same code runs perfect on my other 16x2 which is made to connect to my arduino board seamlessly.
Could you run through the connections for the 20x4 LCD for me?
I've used the two different grounds on the arduino under the power headers. one from the pot, one directly from LCD pin 16. will that affect anything?