Skip to content

Commit 6b7279f

Browse files
committed
Fix test implementation in examples and change README description on test
1 parent fc833ef commit 6b7279f

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This constructor is used to create the object which represents the screen. You c
8383
```c++
8484
void Adafruit_4_01_ColourEPaper::test(void);
8585
```
86-
This function is provided to test if a display works properly. It draws vertical bars of all the colours available in the frame buffer. Use `display()` and one of the two mentioned methods to complete the screen write procedure.
86+
This function is provided to test if a display works properly. It bypasses the frame buffer and directly writes vertical bars of each colour to the screen. Use one of the two mentioned methods to complete the screen write procedure.
8787

8888
* **Wait For Screen (Blocking)**
8989
```c++

examples/modifiedAdafruitGFXExample/modifiedAdafruitGFXExample.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ void loop()
249249
Serial.println("Drawing vertical bars of all colours on the screen");
250250
ePaperObject.clearDisplay();
251251
ePaperObject.test();
252-
ePaperObject.display();
253252
ePaperObject.waitForScreenBlocking();
254253

255254
Serial.println("Done");

examples/testFunction/testFunction.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ void setup()
2525
delay(10000); // wait for 10 seconds
2626

2727
ePaperObject.test();
28-
ePaperObject.display();
2928
while (ePaperObject.checkBusy())
3029
;
3130
ePaperObject.sendPOFandLeaveSPI();

0 commit comments

Comments
 (0)