Digital Loggers PLC - Wifi Enable problems, can anyone offer suggestions.

I have a sketch written to monitor counts from proximity switches, the code works great and the information is displayed on the LCD and serial monitor. What I need help with is enabling the embedded ESP8266 WiFi and allow it to login on to the internet using my Wifi router with the correct SSID and Password.

Everything I try doesn’t seem to work, attached is the sketch I am trying to add wifi enable to show what is on the LCD, looking for help.

LCD-touchV4.zip (1.59 KB)

(deleted)

(deleted)

(deleted)