todd-herbert / heltec-eink-modules

Third-party Arduino Library for Heltec E-Ink displays
21 stars 4 forks source link

Optimized for low power consumption #14

Open EricPung opened 4 months ago

EricPung commented 4 months ago
     digitalWrite(PIN_DISPLAY_RST, HIGH); pinMode(PIN_DISPLAY_RST, OUTPUT);
     -> pinMode(PIN_DISPLAY_RST, OUTPUT);       digitalWrite(PIN_DISPLAY_RST, HIGH); 

{

ifdef WIRELESS_PAPER

        esp_sleep_enable_timer_wakeup(10 * 1000);
        esp_light_sleep_start();
#else
        yield();
#endif

} ->Optimized for low power consumption