From: hackbard Date: Thu, 13 Sep 2007 00:22:23 +0000 (+0200) Subject: basic lcd control (must get improved!) X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=b02acd993d27fd99503d9c9c53e10b19ec1c207c;p=my-code%2Farm.git basic lcd control (must get improved!) --- diff --git a/betty/betty.c b/betty/betty.c index ed42475..e5923e9 100644 --- a/betty/betty.c +++ b/betty/betty.c @@ -51,6 +51,7 @@ int main() { pause(0xffffff); /* display init */ + display_bl_toggle(); display_init(); contrast=0x38; @@ -81,10 +82,7 @@ int main() { DISPLAY_SET_CONTRAST(contrast); break; default: - DISPLAY_SET_C_ADDR(0); - DISPLAY_SET_PAGE_ADDR(0); - for(cnt=0;cnt