From 07cc9636b2cc5330ffde0e22951ba3c6bd766ac4 Mon Sep 17 00:00:00 2001 From: DennisGarvey <32199720+DennisGarvey@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:01:53 -0400 Subject: [PATCH] turn of builtin led during sleep --- src/Squidbox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Squidbox.cpp b/src/Squidbox.cpp index a97309f..3218d34 100644 --- a/src/Squidbox.cpp +++ b/src/Squidbox.cpp @@ -58,6 +58,8 @@ void Squidbox::sleep() { // Clear the screen and update it before going to deep sleep screen->clear(); screen->update(); + pinMode(LED_BUILTIN, OUTPUT); + digitalWrite(LED_BUILTIN, LOW); esp_deep_sleep_start(); }