i know this topic is closed but many of will coming here with the same problem
i was facing this problem too and just find out why it was.
one thing is very clear that you are watching lcd up side down
as i was doing too. and second thing that led is not being communicated.
in my case i didn't conected the r/w to ground by connecting its working properly