X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=betty%2Fdisplay.c;h=b3d3e9c89ff27d6c7d87d28c1da176f76f06354d;hb=818f43a5586b5c7fa441a8d44405d7b5279e8235;hp=fad0804e5a5bfc477885791db874dbcf14d4247b;hpb=2c6f5744c29fb65d904aa5fe40b5ce541247f900;p=my-code%2Farm.git diff --git a/betty/display.c b/betty/display.c index fad0804..b3d3e9c 100644 --- a/betty/display.c +++ b/betty/display.c @@ -6,34 +6,63 @@ */ #include "display.h" +#include "system.h" +#include "default_logo.h" +#include "uart.h" /* * functions */ -void display_clear_screen(void) { +void display_fill_screen(u8 fill) { - u32 cnt; + u8 page,width; - DISPLAY_SET_PAGE_ADDR(0); - DISPLAY_SET_C_ADDR(0); + for(page=0;page