int disconnect();
Disconnects from the Wi-Fi AP.
0: Always, at the time of writing.
LWiFi.begin(); // Turns on the Wi-Fi module. LWiFi.connectWPA("wifi_ap_ssid", "mypassword"); // Connects to an WPA-encrypted AP. LWifi.disconnect(); // Disconnects from the AP. LWiFi.end(); // Turns off the Wi-Fi module.
LWiFi.h
LWiFiClass Class