From 27aa267ce9b747b957153c51fbd1268d3d425f62 Mon Sep 17 00:00:00 2001 From: "Sebastian Schumb (softwerker" Date: Sat, 26 Jun 2010 16:33:32 +0200 Subject: [PATCH] Just a last commit before I screw the bitmap plotting up ... :P --- main.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 212077a..c09adb0 100644 --- a/main.c +++ b/main.c @@ -12,27 +12,33 @@ #include "include/adc.h" //#include "button.h" #include "12x16_horizontal_LSB_1.h" -//#include "8x8_horizontal_LSB_1.h" +#include "8x8_horizontal_LSB_1.h" #include "include/touch.h" -#include "writing_demo.h" +//#include "writing_demo.h" -int main() { +int main(void) { lcd_init(LCD_GRAPHIC); + lcd_clear(); lcd_plot_text(5,5,"Hello",16,16,font_12x16); lcd_plot_pgmtext(50,22,PSTR("World"),16,16,font_12x16); + lcd_plot_pgmtext(5,40,PSTR("qwertzuiop"),8,8,font_8x8); + lcd_plot_pgmtext(5,50,PSTR("asdfghjkl"),8,8,font_8x8); + lcd_plot_pgmtext(5,60,PSTR("yxcvbnm"),8,8,font_8x8); + + while(!touch_is_pressed()); - writing_demo(); + //writing_demo(); return 0;