![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Labview
Dependencies: C12832_lcd LCD_fonts LM75B analogintest3 MMA7660 mbed
Fork of analogintest3 by
Diff: graphics.h
- Revision:
- 1:6c1caefc30c3
diff -r e4782112c3fd -r 6c1caefc30c3 graphics.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graphics.h Tue May 19 11:20:51 2015 +0000 @@ -0,0 +1,165 @@ +#ifndef graphics_H +#define graphics_H +#include "C12832_lcd.h" + +// graphics for the Christmas Demo +// +// Copyright (c) 2012 Peter Drescher - DC2PD +// made by hand - I have to look for a tool ;-) +// Released under the MIT License: http://mbed.org/license/mit + +static char Tree[] = { + 0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xfd,0xff,0xfe,0xff +,0xff,0xfd,0xff,0xfe,0xff +,0xf0,0x0c,0x38,0x70,0xff +,0xf6,0x4d,0x93,0x26,0xff +,0xf6,0x6d,0xd0,0x2e,0xff +,0xf6,0x6d,0x93,0xee,0xff +,0xf6,0x6c,0x30,0x60,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +,0xff,0xff,0xff,0xff,0xff +}; + +Bitmap bitmTree = { + 36, // XSize + 28, // YSize + 5, // Bytes in Line + Tree, // Pointer to picture data +}; + + +static char Santa1[] = { + 0x07, 0x00, 0x00, // XXXXX___, XXXXXXXX, X + 0x05, 0x00, 0x00, // XXXXX_X_, XXXXXXXX, X + 0x07, 0x00, 0x00, // XXXXX___, XXXXXXXX, X + 0x07, 0xC0, 0x00, // XXXXX___, __XXXXXX, X + 0x07, 0xE0, 0x00, // XXXXX___, ___XXXXX, X + 0x07, 0xF0, 0x00, // XXXXX___, ____XXXX, X + 0x0F, 0xF8, 0x00, // XXXX____, _____XXX, X + 0x1c, 0x08, 0x00, // XXX___XX, XXXX_XXX, X + 0x08, 0xA8, 0x00, // XXXX_XXX, _X_X_XXX, X + 0x0C, 0x08, 0x00, // XXXX__XX, XXXX_XXX, X + 0x06, 0x28, 0x00, // XXXXX__X, XX_X_XXX, X + 0x03, 0x98, 0x00, // XXXXXX__, _XX__XXX, X + 0x0d, 0xfe, 0x00, // XXXX__X_, _______X, X + 0x78, 0xf3, 0x00, // X____XXX, ____XX__, X + 0x50, 0x61, 0x80, // X_X_XXXX, X__XXXX_, _ + 0xd0, 0x60, 0x80, // __X_XXXX, X__XXXXX, _ + 0x90, 0x00, 0x80, // _XX_XXXX, XXXXXXXX, _ + 0x90, 0x01, 0x00, // _XX_XXXX, XXXXXXX_, X + 0x90, 0x01, 0x00, // _XX_XXXX, XXXXXXX_, X + 0xd0, 0x03, 0x00, // __X_XXXX, XXXXXX__, X + 0x70, 0x02, 0x00, // X___XXXX, XXXXXX_X, X + 0x1f, 0xfc, 0x00, // XXX_____, ______XX, X + 0x07, 0xfc, 0x00, // XXXXX___, ______XX, X + 0x07, 0x0c, 0x00, // XXXXX___, XXXX__XX, X + 0x07, 0x0c, 0x00, // XXXXX___, XXXX__XX, X + 0x07, 0xbc, 0x00, // XXXXX___, _X____XX, X + 0x03, 0x38, 0x00, // XXXXXX__, XX___XXX, X + 0x00, 0x20, 0x00, // XXXXXXXX, XX_XXXXX, X +}; + +Bitmap bitmSan1 = { + 17, // XSize + 28, // YSize + 3, // Bytes in Line + Santa1 , // Pointer to picture data +}; + + +static char Santa2[] = { + 0x03, 0x80, 0x00 , // XXXXXX__, _XXXXXXX, X + 0x02, 0x80, 0x00 , // XXXXXX_X, _XXXXXXX, X + 0x07, 0x00, 0x00 , // XXXXX___, XXXXXXXX, X + 0x07, 0xc0, 0x00 , // XXXXX___, __XXXXXX, X + 0x07, 0xe0, 0x00 , // XXXXX___, ___XXXXX, X + 0x07, 0xf0, 0x00 , // XXXXX___, ____XXXX, X + 0x0f, 0xf8, 0x00 , // XXXX____, _____XXX, X + 0x1c, 0x08, 0x00 , // XXX___XX, XXXX_XXX, X + 0x08, 0xa8, 0x00 , // XXXX_XXX, _X_X_XXX, X + 0x0c, 0x08, 0x00 , // XXXX__XX, XXXX_XXX, X + 0x06, 0x28, 0x00 , // XXXXX__X, XX_X_XXX, X + 0x03, 0x98, 0x00 , // XXXXXX__, _XX__XXX, X + 0x0d, 0xf6, 0x00 , // XXXX__X_, ____X__X, X + 0x78, 0xf3, 0x00 , // X____XXX, ____XX__, X + 0x50, 0x61, 0x80 , // X_X_XXXX, X__XXXX_, _ + 0xd0, 0x60, 0x80 , // __X_XXXX, X__XXXXX, _ + 0x90, 0x00, 0x80 , // _XX_XXXX, XXXXXXXX, _ + 0x90, 0x01, 0x00 , // _XX_XXXX, XXXXXXX_, X + 0x90, 0x01, 0x00 , // _XX_XXXX, XXXXXXX_, X + 0xd0, 0x03, 0x00 , // __X_XXXX, XXXXXX__, X + 0x70, 0x02, 0x00 , // X___XXXX, XXXXXX_X, X + 0x1f, 0xfc, 0x00 , // XXX_____, ______XX, X + 0x07, 0xdc, 0x00 , // XXXXX___, __X___XX, X + 0x07, 0x0e, 0x00 , // XXXXX___, XXXX___X, X + 0x07, 0x0e, 0x00 , // XXXXX___, XXXX___X, X + 0x0e, 0x0f, 0x80 , // XXXX___X, XXXX____, _ + 0x08, 0x00, 0x00 , // XXXX_XXX, XXXXXXXX, X + 0x00, 0x00, 0x00 , // XXXXXXXX, XXXXXXXX, X +}; + +Bitmap bitmSan2 = { + 17, // XSize + 28, // YSize + 3, // Bytes in Line + Santa2 , // Pointer to picture data +}; + + +static char Santa3[] = { + 0x1c, 0x00, 0x00 , //XXX___XX, XXXXXXXX, X + 0x17, 0x00, 0x00 , //XXX_X___, XXXXXXXX, X + 0x1f, 0xc0, 0x00 , //XXX_____, __XXXXXX, X + 0x07, 0xe0, 0x00 , //XXXXX___, ___XXXXX, X + 0x07, 0xf0, 0x00 , //XXXXX___, ____XXXX, X + 0x0f, 0xf8, 0x00 , //XXXX____, _____XXX, X + 0x1c, 0x08, 0x00 , //XXX___XX, XXXX_XXX, X + 0x08, 0xa8, 0x00 , //XXXX_XXX, _X_X_XXX, X + 0x0c, 0x08, 0x00 , //XXXX__XX, XXXX_XXX, X + 0x06, 0x28, 0x00 , //XXXXX__X, XX_X_XXX, X + 0x03, 0x98, 0x00 , //XXXXXX__, _XX__XXX, X + 0x0d, 0xf6, 0x00 , //XXXX__X_, ____X__X, X + 0x78, 0xf3, 0x00 , //X____XXX, ____XX__, X + 0x50, 0xe1, 0x80 , //X_X_XXXX, ___XXXX_, _ + 0xd0, 0x60, 0x80 , //__X_XXXX, X__XXXXX, _ + 0x90, 0x00, 0x80 , //_XX_XXXX, XXXXXXXX, _ + 0x90, 0x01, 0x00 , //_XX_XXXX, XXXXXXX_, X + 0x90, 0x01, 0x00 , //_XX_XXXX, XXXXXXX_, X + 0x20, 0x03, 0x00 , //__X_XXXX, XXXXXX__, X + 0x70, 0x02, 0x00 , //X___XXXX, XXXXXX_X, X + 0x1f, 0xfc, 0x00 , //XXX_____, ______XX, X + 0x07, 0xdc, 0x00 , //XXXXX___, __X___XX, X + 0x07, 0x0e, 0x00 , //XXXXX___, XXXX___X, X + 0x07, 0x0e, 0x00 , //XXXXX___, XXXX___X, X + 0x07, 0xcf, 0x80 , //XXXXX___, __XX____, _ + 0x00, 0x00, 0x00 , //XXXXXXXX, XXXXXXXX, X +}; + +Bitmap bitmSan3 = { + 17, // XSize + 26, // YSize + 3, // Bytes in Line + Santa3 , // Pointer to picture data +}; + + +#endif \ No newline at end of file