The LED is very bright. When I turn off pin and call deepSleep the LED doesn't turn off fully. 4uA are leaking through pin. See the picture:
If i touch TX pin by oscilloscope it turned off and scheme consumption decreased. Sometimes it turned off by finger touch...
Code: Select all
Serial.flush(); Serial.end(); --- doesn't help
twi_stop(); //turn off i2c line --- doesn't help
ESP.deepSleep(0, RF_DEFAULT);
//..... 50 ms .....
// EN set to LOW by attiny