Light sleep for esp8266-01 with arduino Mega

Hi,
I need help with my project to run my project with battery as long as i can, so how to send esp8266 shield on Mega to light sleep?

thanks

This will not work as expected with your present hardware setup.

When using ESP as shield (i.e. basicly is becomes a simple WiFi to Serial adapter), you will not be able to use sleep… and that wouldn’t put the Mega into sleep mode anyhow.

You could look into Arduino sleep options… but that is well beyond the scope of this Blynk Forum.

https://playground.arduino.cc/Learning/ArduinoSleepCode

Ok, thanks.