wvmarle:
Is that code (which again is a snippet - it misses not only essential includes and variable contrast is not declared) running on the Arduino or on the ESP8266? If the latter, what is that lcd code doing there? If on the Arduino, where's the offending code?
Please read the first posts of tis thread. Above i just completed what i said earlier. And about the esp and display, i thought the esp sends the data to the arduino, and the arduino will display it. I didn't think that the esp module it's something on it's own. But i understand now thanks to groundFungus. I guess.
I will try to do it that way , maybe I will succeed. I will come back with an answer in a couples of hours.