test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: main.cpp
- Revision:
- 0:26e5e770f91b
- Child:
- 1:b8a29dc23cf1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Dec 02 04:26:02 2016 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" +#include "C12832_lcd.h" +#include "Arial_9.h" +#include "Small_7.h" +#include "graphics.h" + +C12832_LCD lcd; + +int main(){ + lcd.cls(); + lcd.set_font((unsigned char*) Arial_9); + //lcd.print_bm(bitmPerson,95,0); // print chistmas tree + // lcd.copy_to_lcd(); + while(1){ + lcd.print_bm(bitmPerson,2,32-6); + lcd.copy_to_lcd(); + wait(1); + lcd.print_bm(bitmPersonB,2,32-6); + lcd.copy_to_lcd(); + wait(1); + } + return 0; +} \ No newline at end of file