From 7632964bb5af0b817de24437588694c1a82e8bac Mon Sep 17 00:00:00 2001 From: Rei Vilo Date: Tue, 12 Nov 2024 12:42:23 +0100 Subject: [PATCH] Release 8.0.8 Improved stability --- examples/Fast/Fast_Line/Fast_Line.ino | 4 ++-- library.properties | 2 +- src/Screen_EPD_EXT3.cpp | 15 ++++++++------- src/Screen_EPD_EXT3.h | 6 +++--- src/hV_Configuration.h | 2 +- src/hV_Documentation.h | 16 ++++++++-------- src/hV_List_Options.h | 2 +- src/hV_List_Screens.h | 7 +++---- 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/examples/Fast/Fast_Line/Fast_Line.ino b/examples/Fast/Fast_Line/Fast_Line.ino index 3ac7da3..4d0bbd1 100755 --- a/examples/Fast/Fast_Line/Fast_Line.ino +++ b/examples/Fast/Fast_Line/Fast_Line.ino @@ -85,11 +85,11 @@ void displayFastLine() myScreen.flush(); - myScreen.setPenSolid(true); + // myScreen.setPenSolid(true); uint32_t chrono; for (uint16_t index = 0; index < x; index += 32) { - myScreen.dRectangle(index, dy, 32, dy * 4, myColours.grey); + myScreen.dLine(index, dy, 32, dy * 4, myColours.black); chrono = millis(); myScreen.flush(); mySerial.println(formatString("%i - %i = %i", chrono, millis(), millis() - chrono)); diff --git a/library.properties b/library.properties index 7cb5b5a..bdece94 100755 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=PDLS_EXT3_Basic_Fast -version=8.0.7 +version=8.0.8 author=Rei Vilo for Pervasive Displays maintainer=Rei Vilo sentence=Library for Pervasive Displays iTC monochrome screens with embedded fast update, and EXT3 or EXT3.1 board diff --git a/src/Screen_EPD_EXT3.cpp b/src/Screen_EPD_EXT3.cpp index 09a4c04..8391790 100755 --- a/src/Screen_EPD_EXT3.cpp +++ b/src/Screen_EPD_EXT3.cpp @@ -38,6 +38,7 @@ // Release 804: Improved power management // Release 805: Improved stability // Release 806: New library for Wide temperature only +// Release 808: Improved stability // // Library header @@ -123,11 +124,11 @@ void Screen_EPD_EXT3_Fast::COG_MediumP_getDataOTP() u_flagOTP = (COG_data[0x00] == _chipId); break; - case eScreen_EPD_581_KS_0B: - - _chipId = 0x16; - u_flagOTP = (COG_data[0x00] == _chipId); - break; + // case eScreen_EPD_581_KS_0B: + // + // _chipId = 0x16; + // u_flagOTP = (COG_data[0x00] == _chipId); + // break; default: @@ -247,7 +248,7 @@ void Screen_EPD_EXT3_Fast::COG_MediumP_update(uint8_t updateMode) } case eScreen_EPD_581_PS_0B: - case eScreen_EPD_741_PS_0B: + // case eScreen_EPD_741_PS_0B: switch (updateMode) { @@ -403,7 +404,7 @@ void Screen_EPD_EXT3_Fast::COG_MediumP_powerOff() b_sendCommandData8(0x09, 0x7b); b_sendCommandData8(0x05, 0x5d); b_sendCommandData8(0x09, 0x7a); - hV_HAL_delayMilliseconds(15); + delay(15); b_sendCommandData8(0x09, 0x00); b_waitBusy(HIGH); // added diff --git a/src/Screen_EPD_EXT3.h b/src/Screen_EPD_EXT3.h index 9b6017c..52650e5 100755 --- a/src/Screen_EPD_EXT3.h +++ b/src/Screen_EPD_EXT3.h @@ -23,11 +23,11 @@ /// * 4.17 reference 417_PS_0D /// * 4.37 reference 437_PS_0C /// -/// * For screens with film `KS`, embedded fast update, see PDLS_EXT3_Advanced_Wide +/// * For screens with film `K`, embedded fast update, see PDLS_EXT3_Advanced_Wide /// /// @author Rei Vilo -/// @date 21 Oct 2024 -/// @version 807 +/// @date 12 Nov 2024 +/// @version 808 /// /// @copyright (c) Rei Vilo, 2010-2024 /// @copyright All rights reserved diff --git a/src/hV_Configuration.h b/src/hV_Configuration.h index de4913e..eb5b165 100755 --- a/src/hV_Configuration.h +++ b/src/hV_Configuration.h @@ -17,7 +17,7 @@ /// * 9. Set GPIO expander mode, not implemented /// * 10. String object for basic edition /// * 11. Set storage mode, not implemented -/// * 12. Set debug options +/// * 12. Set debug options, not implemented /// /// @author Rei Vilo /// @date 21 Aug 2024 diff --git a/src/hV_Documentation.h b/src/hV_Documentation.h index 5909383..e7b086b 100755 --- a/src/hV_Documentation.h +++ b/src/hV_Documentation.h @@ -18,7 +18,7 @@ /// /// The basic edition includes different variants and supports /// -/// * **PDLS_EXT3_Basic_Global** for [monochrome screens](https://www.pervasivedisplays.com/products-e-ink-display/?_sft_product_colour=black-white) (film `C`) and [colour (black-white-red)](https://www.pervasivedisplays.com/products-e-ink-display/?_sft_product_colour=black-white-red) (film `J`), +/// * **PDLS_EXT3_Basic_Global** for [monochrome screens](https://www.pervasivedisplays.com/products-e-ink-display/?_sft_product_colour=black-white) (film `C`) and [colour black-white-red](https://www.pervasivedisplays.com/products-e-ink-display/?_sft_product_colour=black-white-red) (film `J`), /// * **PDLS_EXT3_Basic_Fast** for [monochrome screens with embedded fast update](https://www.pervasivedisplays.com/products-e-ink-display/?_sft_etc_itc=pu) (film `P`), /// * **PDLS_EXT3_Basic_Wide** for [monochrome screens with wide temperature and embedded fast update](https://www.pervasivedisplays.com/products-e-ink-display/?_sft_etc_itc=pu&_sft_temperature_range=m15c-to-p60c) (film `K`), /// * **PDLS_EXT3_Basic_Touch** for [monochrome screens with capacitive touch](https://www.pervasivedisplays.com/products-e-ink-display/?_sft_etc_itc=tp), @@ -26,13 +26,13 @@ /// /// the boards /// -/// * [EPD Extension Kit Gen 3 (EXT3 or EXT3-1)](https://www.pervasivedisplays.com/product/epd-extension-kit-gen-3-EXT3/), +/// * [EPD Extension Kit Gen 3 (EXT3 or EXT3.1)](https://www.pervasivedisplays.com/product/epd-extension-kit-gen-3-EXT3/), /// * [Touch Expansion Board for EXT3 (EXT3-Touch)](https://www.pervasivedisplays.com/product/touch-expansion-board-ext3-touch/); /// /// the kits /// -/// * [EPD Pico Kit (EPDK-266)](https://www.pervasivedisplays.com/product/epd-pico-kit-epdk/), which includes a Raspberry Pi Pico RP2040, an EXT3-1 extension board and a 2.66" monochrome panel, -/// * [EPD Pico Kit Touch (EPDK-271-Touch)](https://www.pervasivedisplays.com/product/touch-expansion-board-ext3-touch/#tab-3), which includes a Raspberry Pi Pico RP2040, an EXT3-1 and EXT3-Touch boards and a 2.71"-Touch monochrome panel with embedded fast update. +/// * [EPD Pico Kit (EPDK-266)](https://www.pervasivedisplays.com/product/epd-pico-kit-epdk/), which includes a Raspberry Pi Pico RP2040, an EXT3.1 extension board and a 2.66" monochrome panel, +/// * [EPD Pico Kit Touch (EPDK-271-Touch)](https://www.pervasivedisplays.com/product/touch-expansion-board-ext3-touch/#tab-3), which includes a Raspberry Pi Pico RP2040, an EXT3.1 and EXT3-Touch boards and a 2.71"-Touch monochrome panel with embedded fast update. /// /// @b Documentation /// @@ -45,13 +45,13 @@ /// Additionally, the **[Wiki](https://docs.pervasivedisplays.com/)** provides a gradual introduction to the e-paper technology and how to use it. /// /// @author Rei Vilo -/// @date 21 Oct 2024 -/// @version 807 +/// @date 12 Nov 2024 +/// @version 808 /// -/// @copyright (c) Rei Vilo, 2010-2024 +/// @copyright © Rei Vilo, 2010-2024 /// @copyright All rights reserved /// @copyright For exclusive use with Pervasive Displays screens -/// @copyright Portions (c) Pervasive Displays, 2010-2024 +/// @copyright Portions © Pervasive Displays, 2010-2024 /// /// * Basic edition: for hobbyists and for basic usage /// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) diff --git a/src/hV_List_Options.h b/src/hV_List_Options.h index a3e58ac..9f59f70 100755 --- a/src/hV_List_Options.h +++ b/src/hV_List_Options.h @@ -15,7 +15,7 @@ /// * 9. Set GPIO expander mode, not implemented /// * 10. String object for basic edition /// * 11. Set storage mode, not implemented -/// * 12. Set debug options +/// * 12. Set debug options, not implemented /// /// @author Rei Vilo /// @date 21 Aug 2024 diff --git a/src/hV_List_Screens.h b/src/hV_List_Screens.h index cdc6870..c125949 100755 --- a/src/hV_List_Screens.h +++ b/src/hV_List_Screens.h @@ -11,7 +11,7 @@ /// /// @author Rei Vilo /// @date 21 Aug 2024 -/// @version 805 +/// @version 807 /// /// @copyright (c) Rei Vilo, 2010-2024 /// @copyright All rights reserved @@ -43,7 +43,7 @@ /// /// @brief Release /// -#define hV_LIST_SCREENS_RELEASE 805 +#define hV_LIST_SCREENS_RELEASE 807 /// @deprecated Screen name format (8.0.0) /// * Name format eScreen_EPD_EXT3___ is deprecated (8.0.0). @@ -298,8 +298,7 @@ /// @todo eScreen_EPD_437_KS_0C not tested #define eScreen_EPD_437_KS_0C SCREEN(SIZE_437, FILM_K, DRIVER_C) ///< reference xE2437KS0Cx, not tested #define eScreen_EPD_581_KS_06 SCREEN(SIZE_581, FILM_K, DRIVER_6) ///< reference xE2581KS06x -// /// @todo eScreen_EPD_741_KS_0B not tested -// #define eScreen_EPD_741_KS_0B SCREEN(SIZE_741, FILM_K, DRIVER_B) ///< reference xE2741KS0Bx, not tested +#define eScreen_EPD_741_KS_06 SCREEN(SIZE_741, FILM_K, DRIVER_6) ///< reference xE2741KS06x // /// @todo eScreen_EPD_969_KS_0B not tested // #define eScreen_EPD_969_KS_0B SCREEN(SIZE_969, FILM_K, DRIVER_B) ///< reference xE2969KS0Bx, not tested // /// @todo eScreen_EPD_B98_KS_0B not tested