|
|
@ -20,13 +20,20 @@ int main(void) { |
|
|
|
init_lcd(); |
|
|
|
init_lcd(); |
|
|
|
lcd_puts("Test e-paper"); |
|
|
|
lcd_puts("Test e-paper"); |
|
|
|
lcd_position(1, 0); |
|
|
|
lcd_position(1, 0); |
|
|
|
lcd_puts("Initialisation ok"); |
|
|
|
lcd_puts("Initialisation ok "); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int j = 0; |
|
|
|
|
|
|
|
|
|
|
|
while(1) { |
|
|
|
while(1) { |
|
|
|
for(int i = 100000; i>0; i--); |
|
|
|
for(int i = 100000; i>0; i--); |
|
|
|
epaper_clearframe(0xFF); |
|
|
|
epaper_clearframe(0xFF); |
|
|
|
for(int i = 100000; i>0; i--); |
|
|
|
for(int i = 100000; i>0; i--); |
|
|
|
epaper_clearframe(0x88); |
|
|
|
epaper_clearframe(0x88); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lcd_position(1, 0); |
|
|
|
|
|
|
|
lcd_puts(" "); |
|
|
|
|
|
|
|
lcd_position(1, 0); |
|
|
|
|
|
|
|
lcd_putc((j++ % 26) + 'A'); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
} // end of main
|
|
|
|
} // end of main
|
|
|
|