Skip to content

Commit

Permalink
Release 8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rei-vilo committed Dec 11, 2024
1 parent 7a39d41 commit 160beaf
Show file tree
Hide file tree
Showing 40 changed files with 526 additions and 187 deletions.
4 changes: 2 additions & 2 deletions examples/Common/Common_Colours/Common_Colours.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Common/Common_Fonts/Common_Fonts.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Common/Common_Forms/Common_Forms.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Common/Common_Orientation/Common_Orientation.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Common/Common_Speed/Common_Speed.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Common/Common_Text/Common_Text.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Common/Common_WhoAmI/Common_WhoAmI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Fast/Fast_Line/Fast_Line.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
/// @details Library for Pervasive Displays EXT3 - Basic level
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Fast/Fast_Orientation/Fast_Orientation.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
/// @details Library for Pervasive Displays EXT3 - Basic level
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Fast/Fast_Speed/Fast_Speed.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
4 changes: 2 additions & 2 deletions examples/Fast/Fast_Temperature/Fast_Temperature.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
/// @details Library for Pervasive Displays EXT3 - Basic level
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=PDLS_EXT3_Basic_Fast
version=8.0.8
version=8.1.0
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
Expand Down
6 changes: 3 additions & 3 deletions src/PDLS_EXT3_Basic_Fast.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -39,7 +39,7 @@
///
/// @brief Library release number
///
#define PDLS_EXT3_BASIC_FAST_RELEASE 801
#define PDLS_EXT3_BASIC_FAST_RELEASE 810

#include "Screen_EPD_EXT3.h"

Expand Down
4 changes: 2 additions & 2 deletions src/Screen_EPD_EXT3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ bool Screen_EPD_EXT3_Fast::s_orientCoordinates(uint16_t & x, uint16_t & y)
{
x = v_screenSizeH - 1 - x;
y = v_screenSizeV - 1 - y;
swap(x, y);
hV_HAL_swap(x, y);
_flagResult = RESULT_SUCCESS;
}
break;
Expand All @@ -1341,7 +1341,7 @@ bool Screen_EPD_EXT3_Fast::s_orientCoordinates(uint16_t & x, uint16_t & y)

if ((x < v_screenSizeH) and (y < v_screenSizeV))
{
swap(x, y);
hV_HAL_swap(x, y);
_flagResult = RESULT_SUCCESS;
}
break;
Expand Down
22 changes: 11 additions & 11 deletions src/Screen_EPD_EXT3.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
/// * For screens with film `K`, embedded fast update, see PDLS_EXT3_Advanced_Wide
///
/// @author Rei Vilo
/// @date 12 Nov 2024
/// @version 808
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -69,27 +69,27 @@
#include "hV_Utilities_PDLS.h"

// Checks
#if (hV_HAL_PERIPHERALS_RELEASE < 801)
#error Required hV_HAL_PERIPHERALS_RELEASE 801
#if (hV_HAL_PERIPHERALS_RELEASE < 810)
#error Required hV_HAL_PERIPHERALS_RELEASE 810
#endif // hV_HAL_PERIPHERALS_RELEASE

#if (hV_CONFIGURATION_RELEASE < 803)
#error Required hV_CONFIGURATION_RELEASE 803
#if (hV_CONFIGURATION_RELEASE < 810)
#error Required hV_CONFIGURATION_RELEASE 810
#endif // hV_CONFIGURATION_RELEASE

#if (hV_SCREEN_BUFFER_RELEASE < 805)
#error Required hV_SCREEN_BUFFER_RELEASE 805
#if (hV_SCREEN_BUFFER_RELEASE < 810)
#error Required hV_SCREEN_BUFFER_RELEASE 810
#endif // hV_SCREEN_BUFFER_RELEASE

#if (hV_BOARD_RELEASE < 801)
#error Required hV_BOARD_RELEASE 801
#if (hV_BOARD_RELEASE < 810)
#error Required hV_BOARD_RELEASE 810
#endif // hV_BOARD_RELEASE

#ifndef SCREEN_EPD_EXT3_RELEASE
///
/// @brief Library release number
///
#define SCREEN_EPD_EXT3_RELEASE 808
#define SCREEN_EPD_EXT3_RELEASE 810

///
/// @brief Library variant
Expand Down
6 changes: 3 additions & 3 deletions src/Terminal12x16e.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -41,7 +41,7 @@
///
/// @brief Release
///
#define TERMINAL12E_FONT_RELEASE 801
#define TERMINAL12E_FONT_RELEASE 810

///
/// @brief Font Terminal12x16e
Expand Down
6 changes: 3 additions & 3 deletions src/Terminal16x24e.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -48,7 +48,7 @@
///
/// @brief Library release number
///
#define TERMINAL16E_FONT_RELEASE 801
#define TERMINAL16E_FONT_RELEASE 810

///
/// @brief Font Terminal16x24
Expand Down
6 changes: 3 additions & 3 deletions src/Terminal6x8e.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -41,7 +41,7 @@
///
/// @brief Release
///
#define TERMINAL6E_FONT_RELEASE 801
#define TERMINAL6E_FONT_RELEASE 810

///
/// @brief Font Terminal6x8e
Expand Down
6 changes: 3 additions & 3 deletions src/Terminal8x12e.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -41,7 +41,7 @@
///
/// @brief Release
///
#define TERMINAL8E_FONT_RELEASE 801
#define TERMINAL8E_FONT_RELEASE 810

///
/// @brief Font Terminal8x12e
Expand Down
35 changes: 35 additions & 0 deletions src/hV_Board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// Release 700: Initial release
// Release 801: Improved double-panel screen management
// Release 804: Improved power management
// Release 810: Added support for EXT4
//

// Library header
Expand Down Expand Up @@ -128,6 +129,40 @@ void hV_Board::b_resume()
pinMode(b_pin.cardCS, INPUT);
}

#if (USE_EXT_BOARD == BOARD_EXT4) // EXT4 GPIOs

if (b_pin.button != NOT_CONNECTED) // generic
{
pinMode(b_pin.button, INPUT_PULLUP);
}

if (b_pin.ledData != NOT_CONNECTED) // generic
{
pinMode(b_pin.ledData, OUTPUT);
}

if (b_pin.nfcFD != NOT_CONNECTED) // generic
{
pinMode(b_pin.nfcFD, INPUT);
}

if (b_pin.imuInt1 != NOT_CONNECTED) // generic
{
pinMode(b_pin.imuInt1, INPUT);
}

if (b_pin.imuInt2 != NOT_CONNECTED) // generic
{
pinMode(b_pin.imuInt2, INPUT);
}

if (b_pin.weatherInt != NOT_CONNECTED) // generic
{
pinMode(b_pin.weatherInt, INPUT);
}

#endif // USE_EXT_BOARD

b_fsmPowerScreen |= FSM_GPIO_MASK;
}
}
Expand Down
11 changes: 6 additions & 5 deletions src/hV_Board.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
/// * Edition: Advanced
///
/// @author Rei Vilo
/// @date 21 Sep 2024
/// @version 806
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -44,13 +44,13 @@
///
/// @brief Library release number
///
#define hV_BOARD_RELEASE 806
#define hV_BOARD_RELEASE 810

// Objects
//
///
/// @brief Class for Pervasive Displays EXT3, EXT3.1 and EXT3-Touch boards
/// @details Functions for EXT3.1 board
/// @brief Class for Pervasive Displays EXT3, EXT3.1 and EXT3-Touch, EXT4 boards
/// @details Functions for EXT extension boards
/// * GPIO
/// * SPI for LCD and external Flash and SRAM memory
/// * I2C for touch and haptic feedback
Expand All @@ -66,6 +66,7 @@ class hV_Board
///
/// @brief Set panelPower pin
/// @param panelPowerPin panelPower pin
/// @note EXT4 requires panelPower
/// @warning setPanelPowerPin() should be called before begin()
///
void setPanelPowerPin(uint8_t panelPowerPin = NOT_CONNECTED);
Expand Down
6 changes: 3 additions & 3 deletions src/hV_Colours565.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Mar 2024
/// @version 801
/// @date 21 Nov 2024
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright All rights reserved
Expand Down Expand Up @@ -42,7 +42,7 @@
///
/// @brief Library release number
///
#define hV_COLOURS_RELEASE 801
#define hV_COLOURS_RELEASE 810

///
/// @class hV_Colours565
Expand Down
Loading

0 comments on commit 160beaf

Please sign in to comment.