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 93e121b commit ebdaf3e
Show file tree
Hide file tree
Showing 41 changed files with 630 additions and 222 deletions.
8 changes: 4 additions & 4 deletions examples/BWRY/BWRY_Colours/BWRY_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 All rights reserved
Expand Down Expand Up @@ -40,8 +40,8 @@
// Configuration
#include "hV_Configuration.h"

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

// Set parameters
Expand Down
8 changes: 4 additions & 4 deletions examples/BWRY/BWRY_Contrasts/BWRY_Contrasts.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 All rights reserved
Expand Down Expand Up @@ -39,8 +39,8 @@
// Configuration
#include "hV_Configuration.h"

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

// Set parameters
Expand Down
8 changes: 4 additions & 4 deletions examples/BWRY/BWRY_Palette/BWRY_Palette.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 All rights reserved
Expand Down Expand Up @@ -39,8 +39,8 @@
// Configuration
#include "hV_Configuration.h"

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

// Set parameters
Expand Down
8 changes: 4 additions & 4 deletions examples/BWRY/BWRY_WhoAmI/BWRY_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 All rights reserved
Expand Down Expand Up @@ -39,8 +39,8 @@
// Configuration
#include "hV_Configuration.h"

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

// Set parameters
Expand Down
15 changes: 12 additions & 3 deletions examples/Common/Common_Colours/Common_Colours.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
/// @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)
/// @copyright All rights reserved
/// @copyright For exclusive use with Pervasive Displays screens
///
/// * Basic edition: for hobbyists and for basic usage
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
///
/// * Evaluation edition: for professionals or organisations, no commercial usage
/// @n All rights reserved
///
/// * Commercial edition: for professionals or organisations, commercial usage
/// @n All rights reserved
///
/// @see ReadMe.txt for references
/// @n
///
Expand Down
20 changes: 14 additions & 6 deletions examples/Common/Common_Fonts/Common_Fonts.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
/// @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)
/// @copyright All rights reserved
/// @copyright For exclusive use with Pervasive Displays screens
///
/// * Basic edition: for hobbyists and for basic usage
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
///
/// * Evaluation edition: for professionals or organisations, no commercial usage
/// @n All rights reserved
///
/// * Commercial edition: for professionals or organisations, commercial usage
/// @n All rights reserved
///
/// @see ReadMe.txt for references
/// @n
///
Expand Down Expand Up @@ -121,9 +130,8 @@ void setup()
displayFonts();
wait(8);

mySerial.println("White... ");
myScreen.clear();
myScreen.flush();
mySerial.println("Regenerate... ");
myScreen.regenerate();

mySerial.println("=== ");
mySerial.println();
Expand Down
22 changes: 15 additions & 7 deletions examples/Common/Common_Forms/Common_Forms.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
/// @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)
/// @copyright All rights reserved
/// @copyright For exclusive use with Pervasive Displays screens
///
/// * Basic edition: for hobbyists and for basic usage
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
///
/// * Evaluation edition: for professionals or organisations, no commercial usage
/// @n All rights reserved
///
/// * Commercial edition: for professionals or organisations, commercial usage
/// @n All rights reserved
///
/// @see ReadMe.txt for references
/// @n
///
Expand Down Expand Up @@ -70,7 +79,7 @@ void displayForms(bool flag = true)

uint16_t x = myScreen.screenSizeX();
uint16_t y = myScreen.screenSizeY();
uint16_t z = min(x, y);
uint16_t z = hV_HAL_min(x, y);

myScreen.setPenSolid(false);
myScreen.dRectangle(0, 0, x, y, myColours.black);
Expand Down Expand Up @@ -109,9 +118,8 @@ void setup()
displayForms();
wait(8);

mySerial.print("White... ");
myScreen.clear();
myScreen.flush();
mySerial.print("Regenerate... ");
myScreen.regenerate();

mySerial.println("=== ");
mySerial.println();
Expand Down
20 changes: 14 additions & 6 deletions examples/Common/Common_Orientation/Common_Orientation.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
/// @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)
/// @copyright All rights reserved
/// @copyright For exclusive use with Pervasive Displays screens
///
/// * Basic edition: for hobbyists and for basic usage
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
///
/// * Evaluation edition: for professionals or organisations, no commercial usage
/// @n All rights reserved
///
/// * Commercial edition: for professionals or organisations, commercial usage
/// @n All rights reserved
///
/// @see ReadMe.txt for references
/// @n
///
Expand Down Expand Up @@ -101,9 +110,8 @@ void setup()
displayOrientation();
wait(8);

mySerial.println("White... ");
myScreen.clear();
myScreen.flush();
mySerial.println("Regenerate... ");
myScreen.regenerate();

mySerial.println("=== ");
mySerial.println();
Expand Down
25 changes: 22 additions & 3 deletions examples/Common/Common_Persistent/Common_Persistent.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
/// @n Based on highView technology
///
/// @author Rei Vilo
/// @date 21 Jan 2023
/// @version 704
/// @date 21 Oct 2023
/// @version 810
///
/// @copyright (c) Rei Vilo, 2010-2024
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
/// @copyright For exclusive use with Pervasive Displays screens
///
/// * Basic edition: for hobbyists and for basic usage
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
///
/// * Evaluation edition: for professionals or organisations, no commercial usage
/// @n All rights reserved
///
/// * Commercial edition: for professionals or organisations, commercial usage
/// @n All rights reserved
///
/// @see ReadMe.txt for references
/// @n
///
Expand All @@ -31,6 +40,7 @@
#include "hV_Configuration.h"

// Set parameters
#define DISPLAY_PERSISTENT 1

// Define structures and classes

Expand Down Expand Up @@ -58,6 +68,9 @@ void wait(uint8_t second)
}

// Functions

#if (DISPLAY_PERSISTENT == 1)

///
/// @brief Who am i? test screen
///
Expand All @@ -84,6 +97,8 @@ void displayPersistent()
myScreen.flush();
}

#endif // DISPLAY_PERSISTENT

// Add setup code
///
/// @brief Setup
Expand All @@ -110,7 +125,9 @@ void setup()
myScreen.begin();
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));

mySerial.println("Who Am I... ");
#if (DISPLAY_PERSISTENT == 1)

mySerial.println("DISPLAY_PERSISTENT... ");
myScreen.clear();
displayPersistent();
wait(2);
Expand All @@ -121,6 +138,8 @@ void setup()
myScreen.flush();
*/

#endif // DISPLAY_PERSISTENT

digitalWrite(LED_BUILTIN, HIGH);
mySerial.println("=== ");
mySerial.println();
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
22 changes: 15 additions & 7 deletions examples/Common/Common_Text/Common_Text.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,23 @@
/// @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)
/// @copyright All rights reserved
/// @copyright For exclusive use with Pervasive Displays screens
///
/// @see ReadMe.txt for references
/// * Basic edition: for hobbyists and for basic usage
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
///
/// * Evaluation edition: for professionals or organisations, no commercial usage
/// @n All rights reserved
///
/// * Commercial edition: for professionals or organisations, commercial usage
/// @n All rights reserved
///
/// @see ReadMe.md for references
/// @n
///

Expand Down Expand Up @@ -132,9 +141,8 @@ void setup()
displayCharacters();
wait(8);

mySerial.println("White... ");
myScreen.clear();
myScreen.flush();
mySerial.println("Regenerate... ");
myScreen.regenerate();

mySerial.println("=== ");
mySerial.println();
Expand Down
Loading

0 comments on commit ebdaf3e

Please sign in to comment.