Just a last commit before I screw the bitmap plotting up ... :P
This commit is contained in:
parent
5e6f7f3a73
commit
27aa267ce9
14
main.c
14
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue