Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit e7f3404

Browse files
committed
Release 8.1.2
1 parent b205c8a commit e7f3404

40 files changed

+275
-186
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22

33
[![Release](https://img.shields.io/github/v/release/rei-vilo/PDLS_EXT3_Basic_Global)](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_Global/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_Global/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)
44

5-
[![](https://img.shields.io/badge/-Wiki-blue)](https://docs.pervasivedisplays.com/) [![](https://img.shields.io/badge/-User_Guide-blue)](https://pdls.pervasivedisplays.com/userguide/index.html) [![](https://img.shields.io/badge/-Reference_manual-blue)](https://rei-vilo.github.io/PDLS_EXT3_Basic_Documentation/html/index.html)
5+
[![](https://img.shields.io/badge/-Wiki-blue)](https://docs.pervasivedisplays.com/) [![](https://img.shields.io/badge/-User_Guide-blue)](https://pdls.pervasivedisplays.com/userguide/index.html) [![](https://img.shields.io/badge/-Reference_manual-blue)](https://pdls.pervasivedisplays.com/reference/html/index.html)
66

77
The Pervasive Displays Library Suite is specifically designed for the [Pervasive Displays](https://www.pervasivedisplays.com) e-paper screens, extension boards and evaluation kits.
88

99
![](https://pdls.pervasivedisplays.com/userguide/img/Logo_PDI_text_320.png)
1010

11+
> ### The library **PDLS_EXT3_Basic_Global** turns legacy.
12+
>
13+
> As a replacement of monochrome screens (film `C`), use the screens with wide temperature and embedded fast update (film `K`).
14+
>
15+
> As a replacement of colour black-white-red screens (film `J`), use the colour black-white-red-yellow screens (film `Q`).
16+
1117
The **PDLS_EXT3_Basic_Global** supports the screens
1218

1319
* iTC [monochrome](https://www.pervasivedisplays.com/products/?_sft_product_colour=black-white) (film `C`);
@@ -69,13 +75,13 @@ Hardware
6975

7076
## Licence
7177

72-
**Copyright** © Rei Vilo, 2010-2024
78+
**Copyright** © Rei Vilo, 2010-2025
7379

7480
For exclusive use with Pervasive Displays screens
7581

7682
**Licence** [Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)](./LICENCE.md)
7783

7884
![](img/by-sa.svg)
7985

80-
**Portions** © Pervasive Displays, 2010-2024
86+
**Portions** © Pervasive Displays, 2010-2025
8187

examples/Common/Common_Colours/Common_Colours.ino

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
/// @n Based on highView technology
77
///
88
/// @author Rei Vilo
9-
/// @date 21 Nov 2024
10-
/// @version 810
9+
/// @date 21 Jan 2025
10+
/// @version 812
1111
///
12-
/// @copyright (c) Rei Vilo, 2010-2024
12+
/// @copyright (c) Rei Vilo, 2010-2025
1313
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
1414
/// @copyright For exclusive use with Pervasive Displays screens
1515
///
@@ -65,10 +65,10 @@ void wait(uint8_t second)
6565
///
6666
void displayPalette(bool flag = true)
6767
{
68-
myScreen.setOrientation(7);
68+
myScreen.setOrientation(ORIENTATION_LANDSCAPE);
6969

7070
uint16_t x0, y0, dx, dy, maxSize, colour;
71-
maxSize = min((myScreen.screenSizeX() * 10 / 50), (myScreen.screenSizeY() * 10 / 35));
71+
maxSize = hV_HAL_min((myScreen.screenSizeX() * 10 / 50), (myScreen.screenSizeY() * 10 / 35));
7272
dx = (myScreen.screenSizeX() - maxSize * 50 / 10) / 2;
7373
dy = (myScreen.screenSizeY() - maxSize * 35 / 10) / 2;
7474

@@ -148,18 +148,17 @@ void setup()
148148
mySerial.println();
149149

150150
// Start
151-
mySerial.println("begin... ");
151+
mySerial.println("begin");
152152
myScreen.begin();
153153
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
154154

155-
mySerial.println("Colours... ");
155+
mySerial.println("Colours");
156156
myScreen.clear();
157157
displayPalette();
158158
wait(8);
159159

160-
mySerial.println("White... ");
161-
myScreen.clear();
162-
myScreen.flush();
160+
mySerial.println("Regenerate");
161+
myScreen.regenerate();
163162

164163
mySerial.println("=== ");
165164
mySerial.println();

examples/Common/Common_Fonts/Common_Fonts.ino

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@
66
/// @n Based on highView technology
77
///
88
/// @author Rei Vilo
9-
/// @date 21 Nov 2024
10-
/// @version 810
9+
/// @date 21 Jan 2025
10+
/// @version 812
1111
///
12-
/// @copyright (c) Rei Vilo, 2010-2024
13-
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
12+
/// @copyright (c) Rei Vilo, 2010-2025
13+
/// @copyright All rights reserved
1414
/// @copyright For exclusive use with Pervasive Displays screens
1515
///
16+
/// * Basic edition: for hobbyists and for basic usage
17+
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
18+
///
19+
/// * Evaluation edition: for professionals or organisations, no commercial usage
20+
/// @n All rights reserved
21+
///
22+
/// * Commercial edition: for professionals or organisations, commercial usage
23+
/// @n All rights reserved
24+
///
1625
/// @see ReadMe.txt for references
1726
/// @n
1827
///
@@ -111,18 +120,17 @@ void setup()
111120
mySerial.println();
112121

113122
// Start
114-
mySerial.println("begin... ");
123+
mySerial.println("begin");
115124
myScreen.begin();
116125
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
117126

118-
mySerial.println("Fonts... ");
127+
mySerial.println("Fonts");
119128
myScreen.clear();
120129
displayFonts();
121130
wait(8);
122131

123-
mySerial.println("White... ");
124-
myScreen.clear();
125-
myScreen.flush();
132+
mySerial.println("Regenerate");
133+
myScreen.regenerate();
126134

127135
mySerial.println("=== ");
128136
mySerial.println();

examples/Common/Common_Forms/Common_Forms.ino

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@
66
/// @n Based on highView technology
77
///
88
/// @author Rei Vilo
9-
/// @date 21 Nov 2024
10-
/// @version 810
9+
/// @date 21 Jan 2025
10+
/// @version 812
1111
///
12-
/// @copyright (c) Rei Vilo, 2010-2024
13-
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
12+
/// @copyright (c) Rei Vilo, 2010-2025
13+
/// @copyright All rights reserved
1414
/// @copyright For exclusive use with Pervasive Displays screens
1515
///
16+
/// * Basic edition: for hobbyists and for basic usage
17+
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
18+
///
19+
/// * Evaluation edition: for professionals or organisations, no commercial usage
20+
/// @n All rights reserved
21+
///
22+
/// * Commercial edition: for professionals or organisations, commercial usage
23+
/// @n All rights reserved
24+
///
1625
/// @see ReadMe.txt for references
1726
/// @n
1827
///
@@ -69,7 +78,7 @@ void displayForms(bool flag = true)
6978

7079
uint16_t x = myScreen.screenSizeX();
7180
uint16_t y = myScreen.screenSizeY();
72-
uint16_t z = min(x, y);
81+
uint16_t z = hV_HAL_min(x, y);
7382

7483
myScreen.setPenSolid(false);
7584
myScreen.dRectangle(0, 0, x, y, myColours.black);
@@ -99,18 +108,17 @@ void setup()
99108
mySerial.println();
100109

101110
// Start
102-
mySerial.print("begin... ");
111+
mySerial.print("begin");
103112
myScreen.begin();
104113
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
105114

106-
mySerial.print("Forms... ");
115+
mySerial.print("Forms");
107116
myScreen.clear();
108117
displayForms();
109118
wait(8);
110119

111-
mySerial.print("White... ");
112-
myScreen.clear();
113-
myScreen.flush();
120+
mySerial.print("Regenerate");
121+
myScreen.regenerate();
114122

115123
mySerial.println("=== ");
116124
mySerial.println();

examples/Common/Common_Orientation/Common_Orientation.ino

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@
66
/// @n Based on highView technology
77
///
88
/// @author Rei Vilo
9-
/// @date 21 Nov 2024
10-
/// @version 810
9+
/// @date 21 Jan 2025
10+
/// @version 812
1111
///
12-
/// @copyright (c) Rei Vilo, 2010-2024
13-
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
12+
/// @copyright (c) Rei Vilo, 2010-2025
13+
/// @copyright All rights reserved
1414
/// @copyright For exclusive use with Pervasive Displays screens
1515
///
16+
/// * Basic edition: for hobbyists and for basic usage
17+
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
18+
///
19+
/// * Evaluation edition: for professionals or organisations, no commercial usage
20+
/// @n All rights reserved
21+
///
22+
/// * Commercial edition: for professionals or organisations, commercial usage
23+
/// @n All rights reserved
24+
///
1625
/// @see ReadMe.txt for references
1726
/// @n
1827
///
@@ -91,18 +100,17 @@ void setup()
91100
mySerial.println();
92101

93102
// Start
94-
mySerial.println("begin... ");
103+
mySerial.println("begin");
95104
myScreen.begin();
96105
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
97106

98-
mySerial.println("Orientation... ");
107+
mySerial.println("Orientation");
99108
myScreen.clear();
100109
displayOrientation();
101110
wait(8);
102111

103-
mySerial.println("White... ");
104-
myScreen.clear();
105-
myScreen.flush();
112+
mySerial.println("Regenerate");
113+
myScreen.regenerate();
106114

107115
mySerial.println("=== ");
108116
mySerial.println();

examples/Common/Common_Persistent/Common_Persistent.ino

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@
66
/// @n Based on highView technology
77
///
88
/// @author Rei Vilo
9-
/// @date 21 Jan 2023
10-
/// @version 704
9+
/// @date 21 Oct 2023
10+
/// @version 810
1111
///
12-
/// @copyright (c) Rei Vilo, 2010-2024
12+
/// @copyright (c) Rei Vilo, 2010-2025
1313
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
1414
/// @copyright For exclusive use with Pervasive Displays screens
1515
///
16+
/// * Basic edition: for hobbyists and for basic usage
17+
/// @n Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
18+
///
19+
/// * Evaluation edition: for professionals or organisations, no commercial usage
20+
/// @n All rights reserved
21+
///
22+
/// * Commercial edition: for professionals or organisations, commercial usage
23+
/// @n All rights reserved
24+
///
1625
/// @see ReadMe.txt for references
1726
/// @n
1827
///
@@ -31,6 +40,7 @@
3140
#include "hV_Configuration.h"
3241

3342
// Set parameters
43+
#define DISPLAY_PERSISTENT 1
3444

3545
// Define structures and classes
3646

@@ -56,6 +66,9 @@ void wait(uint8_t second)
5666
}
5767

5868
// Functions
69+
70+
#if (DISPLAY_PERSISTENT == 1)
71+
5972
///
6073
/// @brief Who am i? test screen
6174
///
@@ -82,6 +95,8 @@ void displayPersistent()
8295
myScreen.flush();
8396
}
8497

98+
#endif // DISPLAY_PERSISTENT
99+
85100
// Add setup code
86101
///
87102
/// @brief Setup
@@ -104,11 +119,13 @@ void setup()
104119
delay(250);
105120
}
106121

107-
mySerial.println("begin... ");
122+
mySerial.println("begin");
108123
myScreen.begin();
109124
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
110125

111-
mySerial.println("Who Am I... ");
126+
#if (DISPLAY_PERSISTENT == 1)
127+
128+
mySerial.println("DISPLAY_PERSISTENT");
112129
myScreen.clear();
113130
displayPersistent();
114131
wait(2);
@@ -119,6 +136,8 @@ void setup()
119136
myScreen.flush();
120137
*/
121138

139+
#endif // DISPLAY_PERSISTENT
140+
122141
digitalWrite(LED_BUILTIN, HIGH);
123142
mySerial.println("=== ");
124143
mySerial.println();

examples/Common/Common_Speed/Common_Speed.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
/// @n Based on highView technology
77
///
88
/// @author Rei Vilo
9-
/// @date 21 Nov 2024
10-
/// @version 810
9+
/// @date 21 Jan 2025
10+
/// @version 812
1111
///
12-
/// @copyright (c) Rei Vilo, 2010-2024
12+
/// @copyright (c) Rei Vilo, 2010-2025
1313
/// @copyright Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
1414
/// @copyright For exclusive use with Pervasive Displays screens
1515
///

0 commit comments

Comments
 (0)