test avoid bulled game

Dependencies:   C12832_lcd LCD_fonts mbed mbed-rtos

Committer:
th_mbed
Date:
Fri Dec 02 04:26:02 2016 +0000
Revision:
0:26e5e770f91b
Child:
1:b8a29dc23cf1
create test_avoid

Who changed what in which revision?

UserRevisionLine numberNew contents of line
th_mbed 0:26e5e770f91b 1 #include "mbed.h"
th_mbed 0:26e5e770f91b 2 #include "C12832_lcd.h"
th_mbed 0:26e5e770f91b 3 #include "Arial_9.h"
th_mbed 0:26e5e770f91b 4 #include "Small_7.h"
th_mbed 0:26e5e770f91b 5 #include "graphics.h"
th_mbed 0:26e5e770f91b 6
th_mbed 0:26e5e770f91b 7 C12832_LCD lcd;
th_mbed 0:26e5e770f91b 8
th_mbed 0:26e5e770f91b 9 int main(){
th_mbed 0:26e5e770f91b 10 lcd.cls();
th_mbed 0:26e5e770f91b 11 lcd.set_font((unsigned char*) Arial_9);
th_mbed 0:26e5e770f91b 12 //lcd.print_bm(bitmPerson,95,0); // print chistmas tree
th_mbed 0:26e5e770f91b 13 // lcd.copy_to_lcd();
th_mbed 0:26e5e770f91b 14 while(1){
th_mbed 0:26e5e770f91b 15 lcd.print_bm(bitmPerson,2,32-6);
th_mbed 0:26e5e770f91b 16 lcd.copy_to_lcd();
th_mbed 0:26e5e770f91b 17 wait(1);
th_mbed 0:26e5e770f91b 18 lcd.print_bm(bitmPersonB,2,32-6);
th_mbed 0:26e5e770f91b 19 lcd.copy_to_lcd();
th_mbed 0:26e5e770f91b 20 wait(1);
th_mbed 0:26e5e770f91b 21 }
th_mbed 0:26e5e770f91b 22 return 0;
th_mbed 0:26e5e770f91b 23 }