From dcc3c71a6f32421e4490ec70680da7d434e8b203 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Sun, 29 Aug 2021 12:02:42 +0100 Subject: [PATCH] PR7682 improvements: drivers, writer.py, docs. --- README.md | 6 ++++-- gui/demos/aclock.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 281189d..b9ccedc 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ my GUI's employ the American spelling of `color`. ## 1.1 Change log 26 Aug 2021 Support [PR7682](https://github.com/micropython/micropython/pull/7682) -for fast text rendering. +for fast text rendering. 25 Apr 2021 Support TTGO T-Display. 26 Mar 2021 Add ST7789. Alter uasyncio support on ili9341. 14 Mar 2021 Tested on Pi Pico. @@ -211,7 +211,9 @@ code. This stuff is easier than you might think. As of Aug 2021 color displays can benefit from a substantial performance boost in rendering text. To take advantage of this, firmware should be dated after 26 Aug 21. The display driver and GUI core files should be updated. Ensure that -the new file `drivers/boolpalette.py` exists on the target hardware. +the new file `drivers/boolpalette.py` exists on the target hardware. Usge of +this mode is automatic but can be checked by running the `aclock.py` demo which +reports the status at the REPL. ###### [Contents](./README.md#contents) diff --git a/gui/demos/aclock.py b/gui/demos/aclock.py index f33254a..b62347c 100644 --- a/gui/demos/aclock.py +++ b/gui/demos/aclock.py @@ -31,7 +31,7 @@ def aclock(): 'Aug', 'Sept', 'Oct', 'Nov', 'Dec') # Instantiate CWriter CWriter.set_textpos(ssd, 0, 0) # In case previous tests have altered it - wri = CWriter(ssd, arial10, GREEN, BLACK, verbose=False) + wri = CWriter(ssd, arial10, GREEN, BLACK) # Report on fast mode. Or use verbose=False wri.set_clip(True, True, False) # Instantiate displayable objects