From 4d63363f34d11ef22998ca4bd98037ac55f73460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Wed, 1 May 2024 15:52:12 +0200 Subject: [PATCH] add screen refresh --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 5c3a9ea..bde253d 100755 --- a/main.cpp +++ b/main.cpp @@ -41,8 +41,10 @@ void mainL03() { for (uint32_t i = 0; i < 100; i++) { p.moveDown(); + Graphics::get().refreshScreen(); std::this_thread::sleep_for(std::chrono::milliseconds(100)); p.moveRight(); + Graphics::get().refreshScreen(); std::this_thread::sleep_for(std::chrono::milliseconds(100)); }