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

Commit 3684fda

Browse files
committed
Release 8.1.2
1 parent 160beaf commit 3684fda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+335
-225
lines changed

README.md

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

33
[![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)
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_Fast** turns legacy.
12+
>
13+
> As a replacement of screens with embedded fast update (film `P`), use the screens with wide temperature and embedded fast update (film `K`).
14+
1115
The **PDLS_EXT3_Basic_Fast** supports the screens
1216

1317
* iTC [monochrome screens with embedded fast update](https://www.pervasivedisplays.com/products/?_sft_etc_itc=pu) (film `P`);
@@ -69,13 +73,13 @@ Hardware
6973

7074
## Licence
7175

72-
**Copyright** © Rei Vilo, 2010-2024
76+
**Copyright** © Rei Vilo, 2010-2025
7377

7478
For exclusive use with Pervasive Displays screens
7579

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

7882
![](img/by-sa.svg)
7983

80-
**Portions** © Pervasive Displays, 2010-2024
84+
**Portions** © Pervasive Displays, 2010-2025
8185

examples/Common/Common_Colours/Common_Colours.ino

Lines changed: 19 additions & 11 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
///
@@ -64,10 +73,10 @@ void wait(uint8_t second)
6473
///
6574
void displayPalette(bool flag = true)
6675
{
67-
myScreen.setOrientation(7);
76+
myScreen.setOrientation(ORIENTATION_LANDSCAPE);
6877

6978
uint16_t x0, y0, dx, dy, maxSize, colour;
70-
maxSize = min((myScreen.screenSizeX() * 10 / 50), (myScreen.screenSizeY() * 10 / 35));
79+
maxSize = hV_HAL_min((myScreen.screenSizeX() * 10 / 50), (myScreen.screenSizeY() * 10 / 35));
7180
dx = (myScreen.screenSizeX() - maxSize * 50 / 10) / 2;
7281
dy = (myScreen.screenSizeY() - maxSize * 35 / 10) / 2;
7382

@@ -147,18 +156,17 @@ void setup()
147156
mySerial.println();
148157

149158
// Start
150-
mySerial.println("begin... ");
159+
mySerial.println("begin");
151160
myScreen.begin();
152161
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
153162

154-
mySerial.println("Colours... ");
163+
mySerial.println("Colours");
155164
myScreen.clear();
156165
displayPalette();
157166
wait(8);
158167

159-
mySerial.println("White... ");
160-
myScreen.clear();
161-
myScreen.flush();
168+
mySerial.println("Regenerate");
169+
myScreen.regenerate();
162170

163171
mySerial.println("=== ");
164172
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
///
@@ -110,18 +119,17 @@ void setup()
110119
mySerial.println();
111120

112121
// Start
113-
mySerial.println("begin... ");
122+
mySerial.println("begin");
114123
myScreen.begin();
115124
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
116125

117-
mySerial.println("Fonts... ");
126+
mySerial.println("Fonts");
118127
myScreen.clear();
119128
displayFonts();
120129
wait(8);
121130

122-
mySerial.println("White... ");
123-
myScreen.clear();
124-
myScreen.flush();
131+
mySerial.println("Regenerate");
132+
myScreen.regenerate();
125133

126134
mySerial.println("=== ");
127135
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
///
@@ -68,7 +77,7 @@ void displayForms(bool flag = true)
6877

6978
uint16_t x = myScreen.screenSizeX();
7079
uint16_t y = myScreen.screenSizeY();
71-
uint16_t z = min(x, y);
80+
uint16_t z = hV_HAL_min(x, y);
7281

7382
myScreen.setPenSolid(false);
7483
myScreen.dRectangle(0, 0, x, y, myColours.black);
@@ -98,18 +107,17 @@ void setup()
98107
mySerial.println();
99108

100109
// Start
101-
mySerial.print("begin... ");
110+
mySerial.print("begin");
102111
myScreen.begin();
103112
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
104113

105-
mySerial.print("Forms... ");
114+
mySerial.print("Forms");
106115
myScreen.clear();
107116
displayForms();
108117
wait(8);
109118

110-
mySerial.print("White... ");
111-
myScreen.clear();
112-
myScreen.flush();
119+
mySerial.print("Regenerate");
120+
myScreen.regenerate();
113121

114122
mySerial.println("=== ");
115123
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
///
@@ -90,18 +99,17 @@ void setup()
9099
mySerial.println();
91100

92101
// Start
93-
mySerial.println("begin... ");
102+
mySerial.println("begin");
94103
myScreen.begin();
95104
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
96105

97-
mySerial.println("Orientation... ");
106+
mySerial.println("Orientation");
98107
myScreen.clear();
99108
displayOrientation();
100109
wait(8);
101110

102-
mySerial.println("White... ");
103-
myScreen.clear();
104-
myScreen.flush();
111+
mySerial.println("Regenerate");
112+
myScreen.regenerate();
105113

106114
mySerial.println("=== ");
107115
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

@@ -55,6 +65,9 @@ void wait(uint8_t second)
5565
}
5666

5767
// Functions
68+
69+
#if (DISPLAY_PERSISTENT == 1)
70+
5871
///
5972
/// @brief Who am i? test screen
6073
///
@@ -81,6 +94,8 @@ void displayPersistent()
8194
myScreen.flush();
8295
}
8396

97+
#endif // DISPLAY_PERSISTENT
98+
8499
// Add setup code
85100
///
86101
/// @brief Setup
@@ -103,11 +118,13 @@ void setup()
103118
delay(250);
104119
}
105120

106-
mySerial.println("begin... ");
121+
mySerial.println("begin");
107122
myScreen.begin();
108123
mySerial.println(formatString("%s %ix%i", myScreen.WhoAmI().c_str(), myScreen.screenSizeX(), myScreen.screenSizeY()));
109124

110-
mySerial.println("Who Am I... ");
125+
#if (DISPLAY_PERSISTENT == 1)
126+
127+
mySerial.println("DISPLAY_PERSISTENT");
111128
myScreen.clear();
112129
displayPersistent();
113130
wait(2);
@@ -118,6 +135,8 @@ void setup()
118135
myScreen.flush();
119136
*/
120137

138+
#endif // DISPLAY_PERSISTENT
139+
121140
digitalWrite(LED_BUILTIN, HIGH);
122141
mySerial.println("=== ");
123142
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)