Ajout LCD pour débug

master
Gaël Pongnot 2 years ago
parent 4d44be9efa
commit 4ac247632c
  1. 7
      src/main.c

@ -22,11 +22,18 @@ int main(void) {
lcd_position(1, 0);
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

Loading…
Cancel
Save