From ab14583a613f77e8756e56fe87843e0234c3a877 Mon Sep 17 00:00:00 2001 From: Rei Vilo Date: Sat, 2 Nov 2024 12:17:58 +0100 Subject: [PATCH] Release 8.0.7 --- README.md | 2 +- .../Common/Common_Colours/Common_Colours.ino | 1 - examples/Common/Common_Fonts/Common_Fonts.ino | 2 - examples/Common/Common_Forms/Common_Forms.ino | 2 - .../Common_Orientation/Common_Orientation.ino | 1 - .../Common_Persistent/Common_Persistent.ino | 1 - examples/Common/Common_Text/Common_Text.ino | 2 - .../Common/Common_WhoAmI/Common_WhoAmI.ino | 2 - examples/Fast/Fast_Speed/Fast_Speed.ino | 2 - .../Fast_Temperature/Fast_Temperature.ino | 1 - library.properties | 4 +- src/Screen_EPD_EXT3.cpp | 195 ++++++------------ src/Screen_EPD_EXT3.h | 58 +++--- src/hV_Documentation.h | 4 +- src/hV_Utilities_PDLS.h | 6 +- 15 files changed, 94 insertions(+), 189 deletions(-) diff --git a/README.md b/README.md index a55863e..545f3d4 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Pervasive Displays Library Suite - Basic edition - Fast Update -[![Release](https://img.shields.io/github/v/release/rei-vilo/PDLS_EXT3_Basic_Fast)](https://github.com/rei-vilo/PDLS_EXT3_Basic_Global/releases) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/77ecc9fa99834e299505f5f2a7c83e53)](https://app.codacy.com/gh/rei-vilo/PDLS_EXT3_Basic_Fast/dashboard?utm_source=github.com&utm_medium=referral&utm_content=rei-vilo/PDLS_EXT3_Basic_Global&utm_campaign=Badge_Grade) ![Arduino lint](https://github.com/rei-vilo/PDLS_EXT3_Basic_Fast/actions/workflows/main.yml/badge.svg) [![GitHub issues](https://img.shields.io/github/issues/rei-vilo/PDLS_EXT3_Basic_Global)](https://github.com/rei-vilo/PDLS_EXT3_Basic_Global/issues) +[![Release](https://img.shields.io/github/v/release/rei-vilo/PDLS_EXT3_Basic_Fast)](https://github.com/rei-vilo/PDLS_EXT3_Basic_Fast/releases) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/77ecc9fa99834e299505f5f2a7c83e53)](https://app.codacy.com/gh/rei-vilo/PDLS_EXT3_Basic_Fast/dashboard?utm_source=github.com&utm_medium=referral&utm_content=rei-vilo/PDLS_EXT3_Basic_Fast&utm_campaign=Badge_Grade) ![Arduino lint](https://github.com/rei-vilo/PDLS_EXT3_Basic_Fast/actions/workflows/main.yml/badge.svg) [![GitHub issues](https://img.shields.io/github/issues/rei-vilo/PDLS_EXT3_Basic_Global)](https://github.com/rei-vilo/PDLS_EXT3_Basic_Global/issues) [![](https://img.shields.io/badge/-Wiki-orange)](https://docs.pervasivedisplays.com/) [![](https://img.shields.io/badge/-User_Guide-orange)](https://pdls.pervasivedisplays.com/userguide/index.html) [![](https://img.shields.io/badge/-Reference_manual-orange)](https://rei-vilo.github.io/PDLS_EXT3_Basic_Documentation/html/index.html) diff --git a/examples/Common/Common_Colours/Common_Colours.ino b/examples/Common/Common_Colours/Common_Colours.ino index a24208a..f1d9bcf 100755 --- a/examples/Common/Common_Colours/Common_Colours.ino +++ b/examples/Common/Common_Colours/Common_Colours.ino @@ -35,7 +35,6 @@ // Define structures and classes // Define variables and constants - Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); // Prototypes diff --git a/examples/Common/Common_Fonts/Common_Fonts.ino b/examples/Common/Common_Fonts/Common_Fonts.ino index 63394ed..e0e15ca 100755 --- a/examples/Common/Common_Fonts/Common_Fonts.ino +++ b/examples/Common/Common_Fonts/Common_Fonts.ino @@ -35,10 +35,8 @@ // Define structures and classes // Define variables and constants - Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); - // Prototypes // Utilities diff --git a/examples/Common/Common_Forms/Common_Forms.ino b/examples/Common/Common_Forms/Common_Forms.ino index ea2ca98..0a60540 100755 --- a/examples/Common/Common_Forms/Common_Forms.ino +++ b/examples/Common/Common_Forms/Common_Forms.ino @@ -35,10 +35,8 @@ // Define structures and classes // Define variables and constants - Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); - // Prototypes // Utilities diff --git a/examples/Common/Common_Orientation/Common_Orientation.ino b/examples/Common/Common_Orientation/Common_Orientation.ino index f522f36..57c5583 100755 --- a/examples/Common/Common_Orientation/Common_Orientation.ino +++ b/examples/Common/Common_Orientation/Common_Orientation.ino @@ -35,7 +35,6 @@ // Define structures and classes // Define variables and constants - Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); // Prototypes diff --git a/examples/Common/Common_Persistent/Common_Persistent.ino b/examples/Common/Common_Persistent/Common_Persistent.ino index d167419..59015bd 100644 --- a/examples/Common/Common_Persistent/Common_Persistent.ino +++ b/examples/Common/Common_Persistent/Common_Persistent.ino @@ -35,7 +35,6 @@ // Define structures and classes // Define variables and constants - Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); // Prototypes diff --git a/examples/Common/Common_Text/Common_Text.ino b/examples/Common/Common_Text/Common_Text.ino index 5652e09..1df5a16 100755 --- a/examples/Common/Common_Text/Common_Text.ino +++ b/examples/Common/Common_Text/Common_Text.ino @@ -35,10 +35,8 @@ // Define structures and classes // Define variables and constants - Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); - // Prototypes // Utilities diff --git a/examples/Common/Common_WhoAmI/Common_WhoAmI.ino b/examples/Common/Common_WhoAmI/Common_WhoAmI.ino index 4504d11..4fb93c1 100755 --- a/examples/Common/Common_WhoAmI/Common_WhoAmI.ino +++ b/examples/Common/Common_WhoAmI/Common_WhoAmI.ino @@ -36,7 +36,6 @@ // Define structures and classes // Define variables and constants - Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); // Prototypes @@ -107,7 +106,6 @@ void displayWhoAmI() #endif // DISPLAY_WHOAMI - // Add setup code /// /// @brief Setup diff --git a/examples/Fast/Fast_Speed/Fast_Speed.ino b/examples/Fast/Fast_Speed/Fast_Speed.ino index 85bbc9a..3cd72fe 100755 --- a/examples/Fast/Fast_Speed/Fast_Speed.ino +++ b/examples/Fast/Fast_Speed/Fast_Speed.ino @@ -39,8 +39,6 @@ // Define structures and classes // Define constants and variables -// Define constants and variables -// Screen_EPD_EXT3 myScreen(eScreen_EPD_271_CS_09, boardRaspberryPiPico_RP2040); Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); // Prototypes diff --git a/examples/Fast/Fast_Temperature/Fast_Temperature.ino b/examples/Fast/Fast_Temperature/Fast_Temperature.ino index 6a4f6d7..ac54900 100644 --- a/examples/Fast/Fast_Temperature/Fast_Temperature.ino +++ b/examples/Fast/Fast_Temperature/Fast_Temperature.ino @@ -35,7 +35,6 @@ // Define variables and constants Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_PS_09, boardRaspberryPiPico_RP2040); -// Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_271_KS_09, boardRaspberryPiPico_RP2040); // Prototypes diff --git a/library.properties b/library.properties index 725e755..7cb5b5a 100755 --- a/library.properties +++ b/library.properties @@ -1,8 +1,8 @@ name=PDLS_EXT3_Basic_Fast -version=8.0.6 +version=8.0.7 author=Rei Vilo for Pervasive Displays maintainer=Rei Vilo -sentence=Library for Pervasive Displays iTC monochrome screens with embedded fast update and EXT3.1 board +sentence=Library for Pervasive Displays iTC monochrome screens with embedded fast update, and EXT3 or EXT3.1 board paragraph=Graphics and text primitives, fast update category=Display url=https://pdls.pervasivedisplays.com/userguide/ diff --git a/src/Screen_EPD_EXT3.cpp b/src/Screen_EPD_EXT3.cpp index 8a396b9..09a4c04 100755 --- a/src/Screen_EPD_EXT3.cpp +++ b/src/Screen_EPD_EXT3.cpp @@ -57,22 +57,22 @@ // // -// --- Medium screens with K or P film +// --- Medium screens with P film // -void Screen_EPD_EXT3_Fast::COG_MediumKP_reset() +void Screen_EPD_EXT3_Fast::COG_MediumP_reset() { // Application note § 2. Power on COG driver b_reset(5, 2, 4, 20, 5); // Medium } -void Screen_EPD_EXT3_Fast::COG_MediumKP_getDataOTP() +void Screen_EPD_EXT3_Fast::COG_MediumP_getDataOTP() { // Read OTP - uint8_t ui8 = 0; uint16_t _readBytes = 0; + uint8_t ui8 = 0; // dummy u_flagOTP = false; - COG_MediumKP_reset(); + COG_MediumP_reset(); if (b_family == FAMILY_LARGE) { digitalWrite(b_pin.panelCSS, HIGH); // Unselect slave panel @@ -101,7 +101,6 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_getDataOTP() digitalWrite(b_pin.panelDC, HIGH); // Data ui8 = hV_HAL_SPI3_read(); // Dummy - // hV_HAL_log(LEVEL_DEBUG, "Dummy read 0x%02x", ui8); // Populate COG_data for (uint16_t index = 0; index < _readBytes; index += 1) @@ -149,27 +148,17 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_getDataOTP() } } -void Screen_EPD_EXT3_Fast::COG_MediumKP_initial(uint8_t updateMode) +void Screen_EPD_EXT3_Fast::COG_MediumP_initial(uint8_t updateMode) { uint8_t workDCTL[2]; workDCTL[0] = COG_data[0x10]; // DCTL workDCTL[1] = 0x00; - switch (u_codeFilm) - { - case FILM_K: - - b_sendIndexData(0x01, workDCTL, 1); // Wide - break; - - default: - - b_sendIndexData(0x01, workDCTL, 2); // Fast - break; - } + // FILM_P already checked + b_sendIndexData(0x01, workDCTL, 2); // Fast } -void Screen_EPD_EXT3_Fast::COG_MediumKP_sendImageData(uint8_t updateMode) +void Screen_EPD_EXT3_Fast::COG_MediumP_sendImageData(uint8_t updateMode) { // Application note § 3.2 Input image to the EPD FRAMEBUFFER_TYPE nextBuffer = s_newImage; @@ -183,12 +172,12 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_sendImageData(uint8_t updateMode) b_sendIndexData(0x12, &COG_data[0x12], 3); // RAM_RW b_sendIndexData(0x10, nextBuffer, u_pageColourSize); // Next frame + b_sendIndexData(0x12, &COG_data[0x12], 3); // RAM_RW switch (updateMode) { case UPDATE_GLOBAL: // Previous frame = dummy - b_sendIndexData(0x12, &COG_data[0x12], 3); // RAM_RW b_sendIndexFixed(0x11, 0x00, u_pageColourSize); // Previous frame = dummy break; @@ -196,11 +185,11 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_sendImageData(uint8_t updateMode) case UPDATE_FAST: // Previous frame - b_sendIndexData(0x12, &COG_data[0x12], 3); // RAM_RW b_sendIndexData(0x11, previousBuffer, u_pageColourSize); // Next frame break; default: + break; } @@ -208,7 +197,7 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_sendImageData(uint8_t updateMode) memcpy(previousBuffer, nextBuffer, u_pageColourSize); // Copy displayed next to previous } -void Screen_EPD_EXT3_Fast::COG_MediumKP_update(uint8_t updateMode) +void Screen_EPD_EXT3_Fast::COG_MediumP_update(uint8_t updateMode) { // Initial COG // Application note § 3.1 Initial flow chart @@ -258,9 +247,7 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_update(uint8_t updateMode) } case eScreen_EPD_581_PS_0B: - case eScreen_EPD_581_KS_0B: case eScreen_EPD_741_PS_0B: - case eScreen_EPD_741_KS_0B: switch (updateMode) { @@ -303,17 +290,7 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_update(uint8_t updateMode) b_sendCommandData8(0x61, COG_data[0x1b]); // STV_DIR // No DCTL here b_sendCommandData8(0x02, COG_data[0x11]); // VCOM - switch (u_codeFilm) - { - case FILM_K: - - b_sendCommandData8(0x03, COG_data[0x1f]); // VCOM_CTRL - break; - - default: - - break; - } + // Fast: no VCOM_CTRL here for Fast // DC/DC Soft-start // Application note § 3.3 DC/DC soft-start @@ -415,67 +392,39 @@ void Screen_EPD_EXT3_Fast::COG_MediumKP_update(uint8_t updateMode) b_sendCommandData8(0x15, 0x3c); } -void Screen_EPD_EXT3_Fast::COG_MediumKP_powerOff() +void Screen_EPD_EXT3_Fast::COG_MediumP_powerOff() { // Application note § 5. Turn-off DC/DC // DC-DC off b_waitBusy(); - switch (u_codeFilm) - { - case FILM_P: - - b_sendCommandData8(0x09, 0x7b); - b_sendCommandData8(0x05, 0x5d); - b_sendCommandData8(0x09, 0x7a); - delay(15); - b_sendCommandData8(0x09, 0x00); - break; - - default: + // FILM_P already checked + b_sendCommandData8(0x09, 0x7b); + b_sendCommandData8(0x05, 0x5d); + b_sendCommandData8(0x09, 0x7a); + hV_HAL_delayMilliseconds(15); + b_sendCommandData8(0x09, 0x00); - b_sendCommandData8(0x09, 0x7f); - b_sendCommandData8(0x05, 0x3d); - b_sendCommandData8(0x09, 0x7e); - delay(60); - b_sendCommandData8(0x09, 0x00); - break; - } + b_waitBusy(HIGH); // added } // -// --- End of Medium screens with K or P film +// --- End of Medium screens with P film // // -// --- Small screens with K or P film +// --- Small screens with P film // -void Screen_EPD_EXT3_Fast::COG_SmallKP_reset() +void Screen_EPD_EXT3_Fast::COG_SmallP_reset() { // Application note § 2. Power on COG driver b_reset(5, 5, 10, 5, 5); // Small // Check after reset - switch (u_eScreen_EPD) - { - case eScreen_EPD_150_KS_0J: - case eScreen_EPD_152_KS_0J: - - if (digitalRead(b_pin.panelBusy) == HIGH) - { - mySerial.println(); - mySerial.println("hV * Incorrect type for 1.52-Wide"); - while (0x01); - } - break; - - default: - - break; - } + // No check } -void Screen_EPD_EXT3_Fast::COG_SmallKP_getDataOTP() +void Screen_EPD_EXT3_Fast::COG_SmallP_getDataOTP() { // Read OTP uint8_t ui8 = 0; @@ -528,7 +477,7 @@ void Screen_EPD_EXT3_Fast::COG_SmallKP_getDataOTP() } // GPIO - COG_SmallKP_reset(); // Although not mentioned, reset to ensure stable state + // COG_SmallP_reset(); // Although not mentioned, reset to ensure stable state // Read OTP _readBytes = 2; @@ -682,7 +631,7 @@ void Screen_EPD_EXT3_Fast::COG_SmallKP_getDataOTP() u_flagOTP = true; } -void Screen_EPD_EXT3_Fast::COG_SmallKP_initial(uint8_t updateMode) +void Screen_EPD_EXT3_Fast::COG_SmallP_initial(uint8_t updateMode) { // Application note § 4. Input initial command switch (u_eScreen_EPD) @@ -715,7 +664,7 @@ void Screen_EPD_EXT3_Fast::COG_SmallKP_initial(uint8_t updateMode) uint8_t indexTemperature; // Temperature uint8_t index00_work[2]; // PSR - // FILM_P and FILM_K already checked + // FILM_P already checked if (updateMode != UPDATE_GLOBAL) // Specific settings for fast update { indexTemperature = u_temperature | 0x40; // temperature | 0x40 @@ -747,7 +696,7 @@ void Screen_EPD_EXT3_Fast::COG_SmallKP_initial(uint8_t updateMode) } // Specific settings for fast update, all screens - // FILM_P and FILM_K already checked + // FILM_P already checked if (updateMode != UPDATE_GLOBAL) { b_sendCommandData8(0x50, 0x07); // Vcom and data interval setting @@ -756,46 +705,33 @@ void Screen_EPD_EXT3_Fast::COG_SmallKP_initial(uint8_t updateMode) } } -void Screen_EPD_EXT3_Fast::COG_SmallKP_sendImageData(uint8_t updateMode) +void Screen_EPD_EXT3_Fast::COG_SmallP_sendImageData(uint8_t updateMode) { // Application note § 5. Input image to the EPD FRAMEBUFFER_TYPE nextBuffer = s_newImage; FRAMEBUFFER_TYPE previousBuffer = s_newImage + u_pageColourSize; // Send image data - switch (u_eScreen_EPD) + // Additional settings for fast update, 154 213 266 370 and 437 screens (s_flag50) + if (s_flag50) { - case eScreen_EPD_150_KS_0J: - case eScreen_EPD_152_KS_0J: - - b_sendIndexData(0x24, previousBuffer, u_pageColourSize); // Previous frame, blackBuffer - b_sendIndexData(0x26, nextBuffer, u_pageColourSize); // Next frame - break; - - default: - - // Additional settings for fast update, 154 213 266 370 and 437 screens (s_flag50) - if (s_flag50) - { - b_sendCommandData8(0x50, 0x27); // Vcom and data interval setting - } + b_sendCommandData8(0x50, 0x27); // Vcom and data interval setting + } - b_sendIndexData(0x10, previousBuffer, u_pageColourSize); // Previous frame, blackBuffer - b_sendIndexData(0x13, nextBuffer, u_pageColourSize); // Next frame + b_sendIndexData(0x10, previousBuffer, u_pageColourSize); // First frame, blackBuffer + b_sendIndexData(0x13, nextBuffer, u_pageColourSize); // Second frame, 0x00 - // Additional settings for fast update, 154 213 266 370 and 437 screens (s_flag50) - if (s_flag50) - { - b_sendCommandData8(0x50, 0x07); // Vcom and data interval setting - } - break; - } // u_eScreen_EPD + // Additional settings for fast update, 154 213 266 370 and 437 screens (s_flag50) + if (s_flag50) + { + b_sendCommandData8(0x50, 0x07); // Vcom and data interval setting + } // Copy next frame to previous frame memcpy(previousBuffer, nextBuffer, u_pageColourSize); // Copy displayed next to previous } -void Screen_EPD_EXT3_Fast::COG_SmallKP_update(uint8_t updateMode) +void Screen_EPD_EXT3_Fast::COG_SmallP_update(uint8_t updateMode) { // Application note § 6. Send updating command switch (u_eScreen_EPD) @@ -822,7 +758,7 @@ void Screen_EPD_EXT3_Fast::COG_SmallKP_update(uint8_t updateMode) } } -void Screen_EPD_EXT3_Fast::COG_SmallKP_powerOff() +void Screen_EPD_EXT3_Fast::COG_SmallP_powerOff() { // Application note § 7. Turn-off DC/DC switch (u_eScreen_EPD) @@ -840,7 +776,7 @@ void Screen_EPD_EXT3_Fast::COG_SmallKP_powerOff() } } // -// --- End of Small screens with K or P film +// --- End of Small screens with P film // /// @endcond // @@ -871,7 +807,6 @@ void Screen_EPD_EXT3_Fast::begin() switch (u_codeFilm) { case FILM_P: // BW, fast update - case FILM_K: // BW, fast update and wide temperature break; @@ -1171,21 +1106,7 @@ void Screen_EPD_EXT3_Fast::resume() } // Start SPI, with unicity check - switch (u_eScreen_EPD) - { - case eScreen_EPD_150_KS_0J: - case eScreen_EPD_152_KS_0J: // 1.52" tested with 4, 8, 16 and 32 MHz - case eScreen_EPD_206_KS_0E: // 2.06" tested with 4, 8 and 16 MHz - case eScreen_EPD_290_KS_0F: - - hV_HAL_SPI_begin(16000000); - break; - - default: - - hV_HAL_SPI_begin(); // Standard 8 MHz - break; - } + hV_HAL_SPI_begin(); // Standard 8 MHz } } @@ -1195,12 +1116,12 @@ void Screen_EPD_EXT3_Fast::s_reset() { case FAMILY_MEDIUM: - COG_MediumKP_reset(); + COG_MediumP_reset(); break; case FAMILY_SMALL: - COG_SmallKP_reset(); + COG_SmallP_reset(); break; default: @@ -1220,12 +1141,12 @@ void Screen_EPD_EXT3_Fast::s_getDataOTP() { case FAMILY_MEDIUM: - COG_MediumKP_getDataOTP(); + COG_MediumP_getDataOTP(); break; case FAMILY_SMALL: - COG_SmallKP_getDataOTP(); + COG_SmallP_getDataOTP(); break; default: @@ -1246,18 +1167,18 @@ void Screen_EPD_EXT3_Fast::s_flush(uint8_t updateMode) { case FAMILY_MEDIUM: - COG_MediumKP_initial(updateMode); // Initialise - COG_MediumKP_sendImageData(updateMode); // Send image data - COG_MediumKP_update(updateMode); // Update - COG_MediumKP_powerOff(); // Power off + COG_MediumP_initial(updateMode); // Initialise + COG_MediumP_sendImageData(updateMode); // Send image data + COG_MediumP_update(updateMode); // Update + COG_MediumP_powerOff(); // Power off break; case FAMILY_SMALL: - COG_SmallKP_initial(updateMode); // Initialise - COG_SmallKP_sendImageData(updateMode); // Send image data - COG_SmallKP_update(updateMode); // Update - COG_SmallKP_powerOff(); // Power off + COG_SmallP_initial(updateMode); // Initialise + COG_SmallP_sendImageData(updateMode); // Send image data + COG_SmallP_update(updateMode); // Update + COG_SmallP_powerOff(); // Power off break; default: diff --git a/src/Screen_EPD_EXT3.h b/src/Screen_EPD_EXT3.h index 5af1389..9b6017c 100755 --- a/src/Screen_EPD_EXT3.h +++ b/src/Screen_EPD_EXT3.h @@ -1,6 +1,6 @@ /// /// @file Screen_EPD_EXT3.h -/// @brief Driver for Pervasive Displays iTC monochrome screens with embedded fast update and EXT3.1 board +/// @brief Driver for Pervasive Displays iTC monochrome screens with embedded fast update, and EXT3 or EXT3.1 board /// /// @details Project Pervasive Displays Library Suite /// @n Based on highView technology @@ -12,24 +12,22 @@ /// * Feature: none /// /// @n Supported screens with embedded fast update -/// * 1.50 reference xE2150PS0Jx -/// * 1.52 reference xE2152PS0Jx -/// * 1.54 reference xE2154PS0Cx -/// * 2.06 reference xE2206KS0Ex -/// * 2.13 reference xE2213PS0Ex -/// * 2.66 reference xE2266PS0Cx -/// * 2.71 reference xE2271PS09x -/// * 2.87 reference xE2287PS09x -/// * 2.90 reference xE2290KSxxx -/// * 3.70 reference xE2370PS0Cx -/// * 4.17 reference xE2417PS0Dx -/// * 4.37 reference xE2437PS0Cx +/// * 1.50 reference 150_PS_0J +/// * 1.52 reference 152_PS_0J +/// * 1.54 reference 154_PS_0C +/// * 2.13 reference 213_PS_0E +/// * 2.66 reference 266_PS_0C +/// * 2.71 reference 271_PS_09 +/// * 2.87 reference 287_PS_09 +/// * 3.70 reference 370_PS_0C +/// * 4.17 reference 417_PS_0D +/// * 4.37 reference 437_PS_0C /// -/// * For screens with film `K`, embedded fast update, see PDLS_EXT3_Advanced_Wide +/// * For screens with film `KS`, embedded fast update, see PDLS_EXT3_Advanced_Wide /// /// @author Rei Vilo -/// @date 21 Sep 2024 -/// @version 806 +/// @date 21 Oct 2024 +/// @version 807 /// /// @copyright (c) Rei Vilo, 2010-2024 /// @copyright All rights reserved @@ -91,7 +89,7 @@ /// /// @brief Library release number /// -#define SCREEN_EPD_EXT3_RELEASE 806 +#define SCREEN_EPD_EXT3_RELEASE 807 /// /// @brief Library variant @@ -267,19 +265,19 @@ class Screen_EPD_EXT3_Fast final : public hV_Screen_Buffer, public hV_Utilities_ // * Other functions specific to the screen uint8_t COG_data[128]; // OTP - void COG_MediumKP_reset(); - void COG_MediumKP_getDataOTP(); - void COG_MediumKP_initial(uint8_t updateMode); - void COG_MediumKP_sendImageData(uint8_t updateMode); - void COG_MediumKP_update(uint8_t updateMode); - void COG_MediumKP_powerOff(); - - void COG_SmallKP_reset(); - void COG_SmallKP_getDataOTP(); - void COG_SmallKP_initial(uint8_t updateMode); - void COG_SmallKP_sendImageData(uint8_t updateMode); - void COG_SmallKP_update(uint8_t updateMode); - void COG_SmallKP_powerOff(); + void COG_MediumP_reset(); + void COG_MediumP_getDataOTP(); + void COG_MediumP_initial(uint8_t updateMode); + void COG_MediumP_sendImageData(uint8_t updateMode); + void COG_MediumP_update(uint8_t updateMode); + void COG_MediumP_powerOff(); + + void COG_SmallP_reset(); + void COG_SmallP_getDataOTP(); + void COG_SmallP_initial(uint8_t updateMode); + void COG_SmallP_sendImageData(uint8_t updateMode); + void COG_SmallP_update(uint8_t updateMode); + void COG_SmallP_powerOff(); bool s_flag50; // Register 0x50 diff --git a/src/hV_Documentation.h b/src/hV_Documentation.h index 4189501..5909383 100755 --- a/src/hV_Documentation.h +++ b/src/hV_Documentation.h @@ -45,8 +45,8 @@ /// 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 Sep 2024 -/// @version 806 +/// @date 21 Oct 2024 +/// @version 807 /// /// @copyright (c) Rei Vilo, 2010-2024 /// @copyright All rights reserved diff --git a/src/hV_Utilities_PDLS.h b/src/hV_Utilities_PDLS.h index de4e66c..746f475 100755 --- a/src/hV_Utilities_PDLS.h +++ b/src/hV_Utilities_PDLS.h @@ -8,8 +8,8 @@ /// * Edition: Advanced /// /// @author Rei Vilo -/// @date 21 Sep 2024 -/// @version 806 +/// @date 21 Oct 2024 +/// @version 807 /// /// @copyright (c) Rei Vilo, 2010-2024 /// @copyright All rights reserved @@ -63,7 +63,7 @@ /// /// @brief Library release number /// -#define hV_UTILITIES_PDLS_RELEASE 806 +#define hV_UTILITIES_PDLS_RELEASE 807 // Objects //