#include <ESP8266WiFi.h>
#include <WiFiClient.h>
const char* ssid = "aaa"; const char* password = "bbb";
void setup(void) {
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
}
void loop(void) {
delay(10000);
}
My module is a ESP-01, and i cannot get it below ~20mA. I measured this with a 1F 'gold cap' and a 1 Ohm resistor, to get rid of the worst spike.
Remco