Skip to content

Commit 020b2d8

Browse files
committed
Fix
1 parent aeaf617 commit 020b2d8

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

examples/Inkplate10/Basic_Inkplate_Functionality/Inkplate_Basic_Partial_Update/Inkplate_Basic_Partial_Update.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ void loop()
7979
}
8080
else
8181
{
82-
display.partialUpdate(); // Do partial update
83-
n++; // Keep track on how many times screen has been partially updated
82+
display.partialUpdate(false, true); // Do partial update
83+
n++; // Keep track on how many times screen has been partially updated
8484
}
8585
offset -= 20; // Move text into new position
8686
if (offset < 0)

examples/Inkplate5/Basic_Inkplate_Functionality/Inkplate_Basic_Partial_Update/Inkplate_Basic_Partial_Update.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ void loop()
7979
}
8080
else
8181
{
82-
display.partialUpdate(); // Do partial update
83-
n++; // Keep track on how many times screen has been partially updated
82+
display.partialUpdate(false, true); // Do partial update
83+
n++; // Keep track on how many times screen has been partially updated
8484
}
8585
offset -= 20; // Move text into new position
8686
if (offset < 0)

examples/Inkplate6/Basic_Inkplate_Functionality/Inkplate_Basic_Partial_Update/Inkplate_Basic_Partial_Update.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ void loop()
5555
}
5656
else
5757
{
58-
display.partialUpdate(); // Do partial update
59-
n++; // Keep track on how many times screen has been partially updated
58+
display.partialUpdate(false, true); // Do partial update
59+
n++; // Keep track on how many times screen has been partially updated
6060
}
6161
offset -= 20; // Move text into new position
6262
if (offset < 0)
@@ -79,8 +79,8 @@ void loop()
7979
}
8080
else
8181
{
82-
display.partialUpdate(); // Do partial update
83-
n++; // Keep track on how many times screen has been partially updated
82+
display.partialUpdate(false, true); // Do partial update
83+
n++; // Keep track on how many times screen has been partially updated
8484
}
8585
offset -= 20; // Move text into new position
8686
if (offset < 0)

examples/Inkplate6PLUS/Basic_Inkplate_Functionality/Inkplate_Basic_Partial_Update/Inkplate_Basic_Partial_Update.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ void loop()
7979
}
8080
else
8181
{
82-
display.partialUpdate(); // Do partial update
83-
n++; // Keep track on how many times screen has been partially updated
82+
display.partialUpdate(false, true); // Do partial update
83+
n++; // Keep track on how many times screen has been partially updated
8484
}
8585
offset -= 20; // Move text into new position
8686
if (offset < 0)

0 commit comments

Comments
 (0)