* functions
*/
-void display_clear_screen(void) {
+void display_fill_screen(u8 fill) {
u8 page,width;
DISPLAY_SET_C_ADDR(0);
DISPLAY_SET_PAGE_ADDR(page);
for(width=0;width<DISPLAY_DIMX;width++) {
- DISPLAY_DATA=0x00;
- DISPLAY_DATA=0x00;
+ DISPLAY_DATA=fill;
+ DISPLAY_DATA=fill;
}
}
}
+void display_clear_screen(void) {
+
+ display_fill_screen(0x00);
+}
+
void display_init(void) {
DISPLAY_EXIT_POWER_SAVE;