![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
graphics.h@2:50a76ed8bf55, 2016-12-02 (annotated)
- Committer:
- th_mbed
- Date:
- Fri Dec 02 06:16:50 2016 +0000
- Revision:
- 2:50a76ed8bf55
- Parent:
- 0:26e5e770f91b
- Child:
- 3:e74b63412b10
add models; when use models, you must 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 | |
th_mbed | 0:26e5e770f91b | 14 | Bitmap bitmPersonB = { |
th_mbed | 0:26e5e770f91b | 15 | 6, // XSize |
th_mbed | 0:26e5e770f91b | 16 | 6, // YSize |
th_mbed | 0:26e5e770f91b | 17 | 1, // Bytes in Line |
th_mbed | 0:26e5e770f91b | 18 | PersonB, // 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, |
th_mbed | 0:26e5e770f91b | 26 | 0x24, |
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 |