From 4ac247632c83e2eeedbc2d74602e912e1ae9f98a Mon Sep 17 00:00:00 2001 From: "gael.pongnot" Date: Mon, 12 Sep 2022 13:29:31 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20LCD=20pour=20d=C3=A9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index bdd862d..152fabf 100644 --- a/src/main.c +++ b/src/main.c @@ -20,13 +20,20 @@ int main(void) { init_lcd(); lcd_puts("Test e-paper"); lcd_position(1, 0); - lcd_puts("Initialisation ok"); + lcd_puts("Initialisation ok "); + + int j = 0; while(1) { for(int i = 100000; i>0; i--); epaper_clearframe(0xFF); for(int i = 100000; i>0; i--); epaper_clearframe(0x88); + + lcd_position(1, 0); + lcd_puts(" "); + lcd_position(1, 0); + lcd_putc((j++ % 26) + 'A'); }; } // end of main