From 02aa32bc36702be814c7cf8fba45fbacbb5f2f7f Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 2 Oct 2024 14:02:11 +0100 Subject: [PATCH 1/2] CI: Update py_decl to 0.0.4. Gives more detailed reports about firmware/flash size and overlap. --- .github/workflows/micropython.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/micropython.yml b/.github/workflows/micropython.yml index 9f9e007cc..16039e010 100644 --- a/.github/workflows/micropython.yml +++ b/.github/workflows/micropython.yml @@ -87,7 +87,7 @@ jobs: uses: actions/checkout@v4 with: repository: gadgetoid/py_decl - ref: v0.0.1 + ref: v0.0.4 path: py_decl - name: Build MPY Cross From 2b25e791a7b701e7bf0a11e1735d58e7fbafbc5e Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 18 Sep 2024 12:28:55 +0100 Subject: [PATCH 2/2] UC8151: Do *not* power off display. Leave the IC powered so that it drains residual voltage into its circuits, rather than the display itself. Or so the theory holds. --- drivers/uc8151/uc8151.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uc8151/uc8151.cpp b/drivers/uc8151/uc8151.cpp index 76477141f..92d7a6203 100644 --- a/drivers/uc8151/uc8151.cpp +++ b/drivers/uc8151/uc8151.cpp @@ -389,7 +389,7 @@ namespace pimoroni { } void UC8151::power_off() { - command(POF); + //command(POF); } void UC8151::read(uint8_t reg, size_t len, uint8_t *data) { @@ -534,7 +534,7 @@ namespace pimoroni { void UC8151::off() { busy_wait(); - command(POF); // turn off + //command(POF); // turn off } }