Labview

Dependencies:   C12832_lcd LCD_fonts LM75B analogintest3 MMA7660 mbed

Fork of analogintest3 by Peter Mertens

Committer:
Bramvr
Date:
Tue May 19 11:20:51 2015 +0000
Revision:
1:6c1caefc30c3
Labview

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Bramvr 1:6c1caefc30c3 1 #ifndef graphics_H
Bramvr 1:6c1caefc30c3 2 #define graphics_H
Bramvr 1:6c1caefc30c3 3 #include "C12832_lcd.h"
Bramvr 1:6c1caefc30c3 4
Bramvr 1:6c1caefc30c3 5 // graphics for the Christmas Demo
Bramvr 1:6c1caefc30c3 6 //
Bramvr 1:6c1caefc30c3 7 // Copyright (c) 2012 Peter Drescher - DC2PD
Bramvr 1:6c1caefc30c3 8 // made by hand - I have to look for a tool ;-)
Bramvr 1:6c1caefc30c3 9 // Released under the MIT License: http://mbed.org/license/mit
Bramvr 1:6c1caefc30c3 10
Bramvr 1:6c1caefc30c3 11 static char Tree[] = {
Bramvr 1:6c1caefc30c3 12 0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 13 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 14 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 15 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 16 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 17 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 18 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 19 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 20 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 21 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 22 ,0xff,0xfd,0xff,0xfe,0xff
Bramvr 1:6c1caefc30c3 23 ,0xff,0xfd,0xff,0xfe,0xff
Bramvr 1:6c1caefc30c3 24 ,0xf0,0x0c,0x38,0x70,0xff
Bramvr 1:6c1caefc30c3 25 ,0xf6,0x4d,0x93,0x26,0xff
Bramvr 1:6c1caefc30c3 26 ,0xf6,0x6d,0xd0,0x2e,0xff
Bramvr 1:6c1caefc30c3 27 ,0xf6,0x6d,0x93,0xee,0xff
Bramvr 1:6c1caefc30c3 28 ,0xf6,0x6c,0x30,0x60,0xff
Bramvr 1:6c1caefc30c3 29 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 30 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 31 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 32 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 33 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 34 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 35 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 36 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 37 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 38 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 39 ,0xff,0xff,0xff,0xff,0xff
Bramvr 1:6c1caefc30c3 40 };
Bramvr 1:6c1caefc30c3 41
Bramvr 1:6c1caefc30c3 42 Bitmap bitmTree = {
Bramvr 1:6c1caefc30c3 43 36, // XSize
Bramvr 1:6c1caefc30c3 44 28, // YSize
Bramvr 1:6c1caefc30c3 45 5, // Bytes in Line
Bramvr 1:6c1caefc30c3 46 Tree, // Pointer to picture data
Bramvr 1:6c1caefc30c3 47 };
Bramvr 1:6c1caefc30c3 48
Bramvr 1:6c1caefc30c3 49
Bramvr 1:6c1caefc30c3 50 static char Santa1[] = {
Bramvr 1:6c1caefc30c3 51 0x07, 0x00, 0x00, // XXXXX___, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 52 0x05, 0x00, 0x00, // XXXXX_X_, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 53 0x07, 0x00, 0x00, // XXXXX___, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 54 0x07, 0xC0, 0x00, // XXXXX___, __XXXXXX, X
Bramvr 1:6c1caefc30c3 55 0x07, 0xE0, 0x00, // XXXXX___, ___XXXXX, X
Bramvr 1:6c1caefc30c3 56 0x07, 0xF0, 0x00, // XXXXX___, ____XXXX, X
Bramvr 1:6c1caefc30c3 57 0x0F, 0xF8, 0x00, // XXXX____, _____XXX, X
Bramvr 1:6c1caefc30c3 58 0x1c, 0x08, 0x00, // XXX___XX, XXXX_XXX, X
Bramvr 1:6c1caefc30c3 59 0x08, 0xA8, 0x00, // XXXX_XXX, _X_X_XXX, X
Bramvr 1:6c1caefc30c3 60 0x0C, 0x08, 0x00, // XXXX__XX, XXXX_XXX, X
Bramvr 1:6c1caefc30c3 61 0x06, 0x28, 0x00, // XXXXX__X, XX_X_XXX, X
Bramvr 1:6c1caefc30c3 62 0x03, 0x98, 0x00, // XXXXXX__, _XX__XXX, X
Bramvr 1:6c1caefc30c3 63 0x0d, 0xfe, 0x00, // XXXX__X_, _______X, X
Bramvr 1:6c1caefc30c3 64 0x78, 0xf3, 0x00, // X____XXX, ____XX__, X
Bramvr 1:6c1caefc30c3 65 0x50, 0x61, 0x80, // X_X_XXXX, X__XXXX_, _
Bramvr 1:6c1caefc30c3 66 0xd0, 0x60, 0x80, // __X_XXXX, X__XXXXX, _
Bramvr 1:6c1caefc30c3 67 0x90, 0x00, 0x80, // _XX_XXXX, XXXXXXXX, _
Bramvr 1:6c1caefc30c3 68 0x90, 0x01, 0x00, // _XX_XXXX, XXXXXXX_, X
Bramvr 1:6c1caefc30c3 69 0x90, 0x01, 0x00, // _XX_XXXX, XXXXXXX_, X
Bramvr 1:6c1caefc30c3 70 0xd0, 0x03, 0x00, // __X_XXXX, XXXXXX__, X
Bramvr 1:6c1caefc30c3 71 0x70, 0x02, 0x00, // X___XXXX, XXXXXX_X, X
Bramvr 1:6c1caefc30c3 72 0x1f, 0xfc, 0x00, // XXX_____, ______XX, X
Bramvr 1:6c1caefc30c3 73 0x07, 0xfc, 0x00, // XXXXX___, ______XX, X
Bramvr 1:6c1caefc30c3 74 0x07, 0x0c, 0x00, // XXXXX___, XXXX__XX, X
Bramvr 1:6c1caefc30c3 75 0x07, 0x0c, 0x00, // XXXXX___, XXXX__XX, X
Bramvr 1:6c1caefc30c3 76 0x07, 0xbc, 0x00, // XXXXX___, _X____XX, X
Bramvr 1:6c1caefc30c3 77 0x03, 0x38, 0x00, // XXXXXX__, XX___XXX, X
Bramvr 1:6c1caefc30c3 78 0x00, 0x20, 0x00, // XXXXXXXX, XX_XXXXX, X
Bramvr 1:6c1caefc30c3 79 };
Bramvr 1:6c1caefc30c3 80
Bramvr 1:6c1caefc30c3 81 Bitmap bitmSan1 = {
Bramvr 1:6c1caefc30c3 82 17, // XSize
Bramvr 1:6c1caefc30c3 83 28, // YSize
Bramvr 1:6c1caefc30c3 84 3, // Bytes in Line
Bramvr 1:6c1caefc30c3 85 Santa1 , // Pointer to picture data
Bramvr 1:6c1caefc30c3 86 };
Bramvr 1:6c1caefc30c3 87
Bramvr 1:6c1caefc30c3 88
Bramvr 1:6c1caefc30c3 89 static char Santa2[] = {
Bramvr 1:6c1caefc30c3 90 0x03, 0x80, 0x00 , // XXXXXX__, _XXXXXXX, X
Bramvr 1:6c1caefc30c3 91 0x02, 0x80, 0x00 , // XXXXXX_X, _XXXXXXX, X
Bramvr 1:6c1caefc30c3 92 0x07, 0x00, 0x00 , // XXXXX___, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 93 0x07, 0xc0, 0x00 , // XXXXX___, __XXXXXX, X
Bramvr 1:6c1caefc30c3 94 0x07, 0xe0, 0x00 , // XXXXX___, ___XXXXX, X
Bramvr 1:6c1caefc30c3 95 0x07, 0xf0, 0x00 , // XXXXX___, ____XXXX, X
Bramvr 1:6c1caefc30c3 96 0x0f, 0xf8, 0x00 , // XXXX____, _____XXX, X
Bramvr 1:6c1caefc30c3 97 0x1c, 0x08, 0x00 , // XXX___XX, XXXX_XXX, X
Bramvr 1:6c1caefc30c3 98 0x08, 0xa8, 0x00 , // XXXX_XXX, _X_X_XXX, X
Bramvr 1:6c1caefc30c3 99 0x0c, 0x08, 0x00 , // XXXX__XX, XXXX_XXX, X
Bramvr 1:6c1caefc30c3 100 0x06, 0x28, 0x00 , // XXXXX__X, XX_X_XXX, X
Bramvr 1:6c1caefc30c3 101 0x03, 0x98, 0x00 , // XXXXXX__, _XX__XXX, X
Bramvr 1:6c1caefc30c3 102 0x0d, 0xf6, 0x00 , // XXXX__X_, ____X__X, X
Bramvr 1:6c1caefc30c3 103 0x78, 0xf3, 0x00 , // X____XXX, ____XX__, X
Bramvr 1:6c1caefc30c3 104 0x50, 0x61, 0x80 , // X_X_XXXX, X__XXXX_, _
Bramvr 1:6c1caefc30c3 105 0xd0, 0x60, 0x80 , // __X_XXXX, X__XXXXX, _
Bramvr 1:6c1caefc30c3 106 0x90, 0x00, 0x80 , // _XX_XXXX, XXXXXXXX, _
Bramvr 1:6c1caefc30c3 107 0x90, 0x01, 0x00 , // _XX_XXXX, XXXXXXX_, X
Bramvr 1:6c1caefc30c3 108 0x90, 0x01, 0x00 , // _XX_XXXX, XXXXXXX_, X
Bramvr 1:6c1caefc30c3 109 0xd0, 0x03, 0x00 , // __X_XXXX, XXXXXX__, X
Bramvr 1:6c1caefc30c3 110 0x70, 0x02, 0x00 , // X___XXXX, XXXXXX_X, X
Bramvr 1:6c1caefc30c3 111 0x1f, 0xfc, 0x00 , // XXX_____, ______XX, X
Bramvr 1:6c1caefc30c3 112 0x07, 0xdc, 0x00 , // XXXXX___, __X___XX, X
Bramvr 1:6c1caefc30c3 113 0x07, 0x0e, 0x00 , // XXXXX___, XXXX___X, X
Bramvr 1:6c1caefc30c3 114 0x07, 0x0e, 0x00 , // XXXXX___, XXXX___X, X
Bramvr 1:6c1caefc30c3 115 0x0e, 0x0f, 0x80 , // XXXX___X, XXXX____, _
Bramvr 1:6c1caefc30c3 116 0x08, 0x00, 0x00 , // XXXX_XXX, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 117 0x00, 0x00, 0x00 , // XXXXXXXX, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 118 };
Bramvr 1:6c1caefc30c3 119
Bramvr 1:6c1caefc30c3 120 Bitmap bitmSan2 = {
Bramvr 1:6c1caefc30c3 121 17, // XSize
Bramvr 1:6c1caefc30c3 122 28, // YSize
Bramvr 1:6c1caefc30c3 123 3, // Bytes in Line
Bramvr 1:6c1caefc30c3 124 Santa2 , // Pointer to picture data
Bramvr 1:6c1caefc30c3 125 };
Bramvr 1:6c1caefc30c3 126
Bramvr 1:6c1caefc30c3 127
Bramvr 1:6c1caefc30c3 128 static char Santa3[] = {
Bramvr 1:6c1caefc30c3 129 0x1c, 0x00, 0x00 , //XXX___XX, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 130 0x17, 0x00, 0x00 , //XXX_X___, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 131 0x1f, 0xc0, 0x00 , //XXX_____, __XXXXXX, X
Bramvr 1:6c1caefc30c3 132 0x07, 0xe0, 0x00 , //XXXXX___, ___XXXXX, X
Bramvr 1:6c1caefc30c3 133 0x07, 0xf0, 0x00 , //XXXXX___, ____XXXX, X
Bramvr 1:6c1caefc30c3 134 0x0f, 0xf8, 0x00 , //XXXX____, _____XXX, X
Bramvr 1:6c1caefc30c3 135 0x1c, 0x08, 0x00 , //XXX___XX, XXXX_XXX, X
Bramvr 1:6c1caefc30c3 136 0x08, 0xa8, 0x00 , //XXXX_XXX, _X_X_XXX, X
Bramvr 1:6c1caefc30c3 137 0x0c, 0x08, 0x00 , //XXXX__XX, XXXX_XXX, X
Bramvr 1:6c1caefc30c3 138 0x06, 0x28, 0x00 , //XXXXX__X, XX_X_XXX, X
Bramvr 1:6c1caefc30c3 139 0x03, 0x98, 0x00 , //XXXXXX__, _XX__XXX, X
Bramvr 1:6c1caefc30c3 140 0x0d, 0xf6, 0x00 , //XXXX__X_, ____X__X, X
Bramvr 1:6c1caefc30c3 141 0x78, 0xf3, 0x00 , //X____XXX, ____XX__, X
Bramvr 1:6c1caefc30c3 142 0x50, 0xe1, 0x80 , //X_X_XXXX, ___XXXX_, _
Bramvr 1:6c1caefc30c3 143 0xd0, 0x60, 0x80 , //__X_XXXX, X__XXXXX, _
Bramvr 1:6c1caefc30c3 144 0x90, 0x00, 0x80 , //_XX_XXXX, XXXXXXXX, _
Bramvr 1:6c1caefc30c3 145 0x90, 0x01, 0x00 , //_XX_XXXX, XXXXXXX_, X
Bramvr 1:6c1caefc30c3 146 0x90, 0x01, 0x00 , //_XX_XXXX, XXXXXXX_, X
Bramvr 1:6c1caefc30c3 147 0x20, 0x03, 0x00 , //__X_XXXX, XXXXXX__, X
Bramvr 1:6c1caefc30c3 148 0x70, 0x02, 0x00 , //X___XXXX, XXXXXX_X, X
Bramvr 1:6c1caefc30c3 149 0x1f, 0xfc, 0x00 , //XXX_____, ______XX, X
Bramvr 1:6c1caefc30c3 150 0x07, 0xdc, 0x00 , //XXXXX___, __X___XX, X
Bramvr 1:6c1caefc30c3 151 0x07, 0x0e, 0x00 , //XXXXX___, XXXX___X, X
Bramvr 1:6c1caefc30c3 152 0x07, 0x0e, 0x00 , //XXXXX___, XXXX___X, X
Bramvr 1:6c1caefc30c3 153 0x07, 0xcf, 0x80 , //XXXXX___, __XX____, _
Bramvr 1:6c1caefc30c3 154 0x00, 0x00, 0x00 , //XXXXXXXX, XXXXXXXX, X
Bramvr 1:6c1caefc30c3 155 };
Bramvr 1:6c1caefc30c3 156
Bramvr 1:6c1caefc30c3 157 Bitmap bitmSan3 = {
Bramvr 1:6c1caefc30c3 158 17, // XSize
Bramvr 1:6c1caefc30c3 159 26, // YSize
Bramvr 1:6c1caefc30c3 160 3, // Bytes in Line
Bramvr 1:6c1caefc30c3 161 Santa3 , // Pointer to picture data
Bramvr 1:6c1caefc30c3 162 };
Bramvr 1:6c1caefc30c3 163
Bramvr 1:6c1caefc30c3 164
Bramvr 1:6c1caefc30c3 165 #endif