Ajout LCD pour débug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user