test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
graphics.h@3:e74b63412b10, 2016-12-02 (annotated)
- Committer:
- th_mbed
- Date:
- Fri Dec 02 06:23:48 2016 +0000
- Revision:
- 3:e74b63412b10
- Parent:
- 2:50a76ed8bf55
- Parent:
- 1:b8a29dc23cf1
- Child:
- 6:e63641e13374
add models; when use models, you should include models.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
th_mbed | 0:26e5e770f91b | 1 | #ifndef graphics_H |
th_mbed | 0:26e5e770f91b | 2 | #define graphics_H |
th_mbed | 0:26e5e770f91b | 3 | #include "C12832_lcd.h" |
th_mbed | 0:26e5e770f91b | 4 | |
th_mbed | 0:26e5e770f91b | 5 | static char Person[] = { |
th_mbed | 0:26e5e770f91b | 6 | 0x30, |
th_mbed | 0:26e5e770f91b | 7 | 0x70, |
th_mbed | 0:26e5e770f91b | 8 | 0x28, |
th_mbed | 0:26e5e770f91b | 9 | 0x70, |
th_mbed | 0:26e5e770f91b | 10 | 0xA0, |
th_mbed | 0:26e5e770f91b | 11 | 0x50 |
th_mbed | 0:26e5e770f91b | 12 | }; |
th_mbed | 0:26e5e770f91b | 13 | |
kaku_jyoko | 1:b8a29dc23cf1 | 14 | Bitmap bitmPerson = { |
th_mbed | 0:26e5e770f91b | 15 | 6, // XSize |
th_mbed | 0:26e5e770f91b | 16 | 6, // YSize |
th_mbed | 0:26e5e770f91b | 17 | 1, // Bytes in Line |
kaku_jyoko | 1:b8a29dc23cf1 | 18 | Person, // Pointer to picture data |
th_mbed | 0:26e5e770f91b | 19 | }; |
th_mbed | 0:26e5e770f91b | 20 | |
th_mbed | 0:26e5e770f91b | 21 | static char PersonB[] = { |
th_mbed | 0:26e5e770f91b | 22 | 0x30, |
th_mbed | 0:26e5e770f91b | 23 | 0x70, |
th_mbed | 0:26e5e770f91b | 24 | 0xA0, |
th_mbed | 0:26e5e770f91b | 25 | 0x70, |
kaku_jyoko | 1:b8a29dc23cf1 | 26 | 0x28, |
th_mbed | 0:26e5e770f91b | 27 | 0x50 |
th_mbed | 0:26e5e770f91b | 28 | }; |
th_mbed | 0:26e5e770f91b | 29 | |
th_mbed | 0:26e5e770f91b | 30 | Bitmap bitmPersonB = { |
th_mbed | 0:26e5e770f91b | 31 | 6, // XSize |
th_mbed | 0:26e5e770f91b | 32 | 6, // YSize |
th_mbed | 0:26e5e770f91b | 33 | 1, // Bytes in Line |
th_mbed | 0:26e5e770f91b | 34 | PersonB, // Pointer to picture data |
th_mbed | 0:26e5e770f91b | 35 | }; |
th_mbed | 0:26e5e770f91b | 36 | |
th_mbed | 0:26e5e770f91b | 37 | #endif |