nokia 5110 lcd problem

I am not sure about my code. But maybe the lcd damaged already?

Those devices show nothing when the code isn't right. So your lcd may not have been damaged.

I would find a working piece of code and see if indeed the lcd has gone.