#include <LiquidCrystal_I2C.h>
#include "WiFi.h"
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// put your setup code here, to run once:
lcd.init();
lcd.backlight();
}
void loop() {
// put your main code here, to run repeatedly:
WiFi.scanNetworks();
String names = WiFi.SSID(0);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("WiFi Name: ");
lcd.setCursor(0,1);
lcd.print(names);
delay(1000);
}