From 27cbc844dee8f9f9b8a0a175f7ebf005cb205046 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 12 Jul 2023 15:13:34 -0700 Subject: [PATCH] Send a partial update in the date example From what I've read it's not good to always do full updates, so for examples and testing I figure that doing a partial update of the whole screen is also good. --- examples/date.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/date.scm b/examples/date.scm index 42524fb..b135065 100644 --- a/examples/date.scm +++ b/examples/date.scm @@ -16,7 +16,7 @@ (inkplate:draw-rectangle my-dev 269 89 252 157 3) (inkplate:draw-rectangle my-dev 268 88 254 159 3) - (inkplate:update my-dev) + (inkplate:partial-update my-dev 15 800 600) (inkplate:send my-dev) (inkplate:close my-dev))