From 2485f43371dbacbff3fb9f2d50c54f9c7a2a4ce4 Mon Sep 17 00:00:00 2001 From: moononournation Date: Mon, 2 May 2022 23:23:02 +0800 Subject: [PATCH] fine tune --- .../U8g2FontUTF8FullUnifont/U8g2FontUTF8FullUnifont.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/U8g2Font/U8g2FontUTF8FullUnifont/U8g2FontUTF8FullUnifont.ino b/examples/U8g2Font/U8g2FontUTF8FullUnifont/U8g2FontUTF8FullUnifont.ino index ef70d783..de36d0be 100644 --- a/examples/U8g2Font/U8g2FontUTF8FullUnifont/U8g2FontUTF8FullUnifont.ino +++ b/examples/U8g2Font/U8g2FontUTF8FullUnifont/U8g2FontUTF8FullUnifont.ino @@ -147,10 +147,10 @@ void setup(void) void loop() { - gfx->setCursor(random(gfx->width() / 2), random(gfx->height() - 16)); + gfx->setCursor(random(gfx->width() / 4), random(gfx->height() - 32) + 16); gfx->setTextColor(random(0xffff), random(0xffff)); gfx->setTextSize(random(2) + 2 /* x scale */, random(2) + 2 /* y scale */); gfx->println(helloWorldStrings[random(74)]); - delay(1000); // 1 second + delay(500); // 0.5 second }