Connecting To WiFi and LCD display

This is a variation on this sketch - it still just connects to your
WiFi network but now displays the connection status on an LCD display connected to the I2C bus. You can download the new sketch
here or just copy and paste from below. You need to know the I2C address of the
LCD backpack - it's usually 0x27 or 0x3F - and change the sketch accordingly.
The LCD consumes about 42mA at 5V and about 14mA at 3.3V.

The connections required from the LCD are:

GND to board G

Vcc to board VU - you could also use any 3V pin. Don't use Vin - this is intended only to power the board using an external supply.

SDA to board D2 (this is GPIO4)

SCL to board D3 (this is GPIO0)

You can use different digital pins for I2C but you'll need to change the symbol definitions for SCL and SDA in the sketch.