Snake game on nokia N5110 LCD
Dependencies: mbed
Snake game on nokia N5110 LCD and Keyes Syos Joystick. You control snake using joystick. Start/pause game ba using button on joystick or by pressing p on your keyboard (serial communication). More info on my blog: http://sdizdarevic.com/post/94147065625/frdm-k64f-project
N5110/N5110.h@0:5bdb67970267, 2014-08-08 (annotated)
- Committer:
- sdizdarevic
- Date:
- Fri Aug 08 06:44:50 2014 +0000
- Revision:
- 0:5bdb67970267
Check connections
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sdizdarevic | 0:5bdb67970267 | 1 | /** |
sdizdarevic | 0:5bdb67970267 | 2 | @file N5110.h |
sdizdarevic | 0:5bdb67970267 | 3 | |
sdizdarevic | 0:5bdb67970267 | 4 | @brief Header file containing member functions and variables |
sdizdarevic | 0:5bdb67970267 | 5 | |
sdizdarevic | 0:5bdb67970267 | 6 | */ |
sdizdarevic | 0:5bdb67970267 | 7 | |
sdizdarevic | 0:5bdb67970267 | 8 | #ifndef N5110_H |
sdizdarevic | 0:5bdb67970267 | 9 | #define N5110_H |
sdizdarevic | 0:5bdb67970267 | 10 | |
sdizdarevic | 0:5bdb67970267 | 11 | // Command Bytes - taken from Chris Yan's library |
sdizdarevic | 0:5bdb67970267 | 12 | // More information can be found in the display datasheet |
sdizdarevic | 0:5bdb67970267 | 13 | // H = 0 - Basic instructions |
sdizdarevic | 0:5bdb67970267 | 14 | #define CMD_DC_CLEAR_DISPLAY 0x08 |
sdizdarevic | 0:5bdb67970267 | 15 | #define CMD_DC_NORMAL_MODE 0x0C |
sdizdarevic | 0:5bdb67970267 | 16 | #define CMD_DC_FILL_DISPLAY 0x09 |
sdizdarevic | 0:5bdb67970267 | 17 | #define CMD_DC_INVERT_VIDEO 0x0D |
sdizdarevic | 0:5bdb67970267 | 18 | #define CMD_FS_HORIZONTAL_MODE 0x00 |
sdizdarevic | 0:5bdb67970267 | 19 | #define CMD_FS_VERTICAL_MODE 0x02 |
sdizdarevic | 0:5bdb67970267 | 20 | #define CMD_FS_BASIC_MODE 0x00 |
sdizdarevic | 0:5bdb67970267 | 21 | #define CMD_FS_EXTENDED_MODE 0x01 |
sdizdarevic | 0:5bdb67970267 | 22 | #define CMD_FS_ACTIVE_MODE 0x00 |
sdizdarevic | 0:5bdb67970267 | 23 | #define CMD_FS_POWER_DOWN_MODE 0x04 |
sdizdarevic | 0:5bdb67970267 | 24 | // H = 1 - Extended instructions |
sdizdarevic | 0:5bdb67970267 | 25 | #define CMD_TC_TEMP_0 0x04 |
sdizdarevic | 0:5bdb67970267 | 26 | #define CMD_TC_TEMP_1 0x05 |
sdizdarevic | 0:5bdb67970267 | 27 | #define CMD_TC_TEMP_2 0x06 |
sdizdarevic | 0:5bdb67970267 | 28 | #define CMD_TC_TEMP_3 0x07 |
sdizdarevic | 0:5bdb67970267 | 29 | #define CMD_BI_MUX_24 0x15 |
sdizdarevic | 0:5bdb67970267 | 30 | #define CMD_BI_MUX_48 0x13 |
sdizdarevic | 0:5bdb67970267 | 31 | #define CMD_BI_MUX_100 0x10 |
sdizdarevic | 0:5bdb67970267 | 32 | #define CMD_VOP_6V06 0xB2 |
sdizdarevic | 0:5bdb67970267 | 33 | #define CMD_VOP_7V38 0xC8 |
sdizdarevic | 0:5bdb67970267 | 34 | |
sdizdarevic | 0:5bdb67970267 | 35 | #include "mbed.h" |
sdizdarevic | 0:5bdb67970267 | 36 | |
sdizdarevic | 0:5bdb67970267 | 37 | /** |
sdizdarevic | 0:5bdb67970267 | 38 | @brief Simple library for interfacing with Nokia 5110 LCD display (https://www.sparkfun.com/products/10168) using the hardware SPI on the mbed. |
sdizdarevic | 0:5bdb67970267 | 39 | @brief The display is powered from a GPIO pin meaning it can be controlled via software. The LED backlight is also software-controllable (via PWM pin). |
sdizdarevic | 0:5bdb67970267 | 40 | @brief Can print characters and strings to the display using the included 5x7 font. |
sdizdarevic | 0:5bdb67970267 | 41 | @brief The library also implements a screen buffer so that individual pixels on the display (84 x 48) can be set, cleared and read. |
sdizdarevic | 0:5bdb67970267 | 42 | |
sdizdarevic | 0:5bdb67970267 | 43 | @brief Acknowledgements to Chris Yan's Nokia_5110 Library. |
sdizdarevic | 0:5bdb67970267 | 44 | |
sdizdarevic | 0:5bdb67970267 | 45 | @brief Revision 1.0 |
sdizdarevic | 0:5bdb67970267 | 46 | |
sdizdarevic | 0:5bdb67970267 | 47 | @author Craig A. Evans |
sdizdarevic | 0:5bdb67970267 | 48 | @date January 2014 |
sdizdarevic | 0:5bdb67970267 | 49 | * |
sdizdarevic | 0:5bdb67970267 | 50 | * Example: |
sdizdarevic | 0:5bdb67970267 | 51 | * @code |
sdizdarevic | 0:5bdb67970267 | 52 | |
sdizdarevic | 0:5bdb67970267 | 53 | #include "mbed.h" |
sdizdarevic | 0:5bdb67970267 | 54 | #include "N5110.h" |
sdizdarevic | 0:5bdb67970267 | 55 | |
sdizdarevic | 0:5bdb67970267 | 56 | // VCC,SCE,RST,D/C,MOSI,SCLK,LED |
sdizdarevic | 0:5bdb67970267 | 57 | N5110 lcd(p7,p8,p9,p10,p11,p13,p26); |
sdizdarevic | 0:5bdb67970267 | 58 | |
sdizdarevic | 0:5bdb67970267 | 59 | int main() { |
sdizdarevic | 0:5bdb67970267 | 60 | |
sdizdarevic | 0:5bdb67970267 | 61 | // initialise display |
sdizdarevic | 0:5bdb67970267 | 62 | lcd.init(); |
sdizdarevic | 0:5bdb67970267 | 63 | // print a string in top-left corner |
sdizdarevic | 0:5bdb67970267 | 64 | lcd.printString("Hello, World!",0,0); |
sdizdarevic | 0:5bdb67970267 | 65 | // move cursor to 4th row |
sdizdarevic | 0:5bdb67970267 | 66 | lcd.setXYAddress(0,3); |
sdizdarevic | 0:5bdb67970267 | 67 | // print character |
sdizdarevic | 0:5bdb67970267 | 68 | lcd.printChar('X'); |
sdizdarevic | 0:5bdb67970267 | 69 | |
sdizdarevic | 0:5bdb67970267 | 70 | while(1); |
sdizdarevic | 0:5bdb67970267 | 71 | } |
sdizdarevic | 0:5bdb67970267 | 72 | |
sdizdarevic | 0:5bdb67970267 | 73 | * @endcode |
sdizdarevic | 0:5bdb67970267 | 74 | */ |
sdizdarevic | 0:5bdb67970267 | 75 | class N5110 |
sdizdarevic | 0:5bdb67970267 | 76 | { |
sdizdarevic | 0:5bdb67970267 | 77 | |
sdizdarevic | 0:5bdb67970267 | 78 | public: |
sdizdarevic | 0:5bdb67970267 | 79 | /** Create a N5110 object connected to the specified pins |
sdizdarevic | 0:5bdb67970267 | 80 | * |
sdizdarevic | 0:5bdb67970267 | 81 | * @param pwr Pin connected to Vcc on the LCD display (pin 1) |
sdizdarevic | 0:5bdb67970267 | 82 | * @param sce Pin connected to chip enable (pin 3) |
sdizdarevic | 0:5bdb67970267 | 83 | * @param rst Pin connected to reset (pin 4) |
sdizdarevic | 0:5bdb67970267 | 84 | * @param dc Pin connected to data/command select (pin 5) |
sdizdarevic | 0:5bdb67970267 | 85 | * @param mosi Pin connected to data input (MOSI) (pin 6) |
sdizdarevic | 0:5bdb67970267 | 86 | * @param sclk Pin connected to serial clock (SCLK) (pin 7) |
sdizdarevic | 0:5bdb67970267 | 87 | * @param led Pin connected to LED backlight (must be PWM) (pin 8) |
sdizdarevic | 0:5bdb67970267 | 88 | * |
sdizdarevic | 0:5bdb67970267 | 89 | */ |
sdizdarevic | 0:5bdb67970267 | 90 | N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin); |
sdizdarevic | 0:5bdb67970267 | 91 | |
sdizdarevic | 0:5bdb67970267 | 92 | /** Initialise display |
sdizdarevic | 0:5bdb67970267 | 93 | * |
sdizdarevic | 0:5bdb67970267 | 94 | * Powers up the display and turns on backlight (50% brightness default). |
sdizdarevic | 0:5bdb67970267 | 95 | * Sets the display up in horizontal addressing mode and with normal video mode. |
sdizdarevic | 0:5bdb67970267 | 96 | */ |
sdizdarevic | 0:5bdb67970267 | 97 | void init(); |
sdizdarevic | 0:5bdb67970267 | 98 | |
sdizdarevic | 0:5bdb67970267 | 99 | /** Turn off |
sdizdarevic | 0:5bdb67970267 | 100 | * |
sdizdarevic | 0:5bdb67970267 | 101 | * Powers down the display and turns of the backlight. |
sdizdarevic | 0:5bdb67970267 | 102 | * Needs to be reinitialised before being re-used. |
sdizdarevic | 0:5bdb67970267 | 103 | */ |
sdizdarevic | 0:5bdb67970267 | 104 | void turnOff(); |
sdizdarevic | 0:5bdb67970267 | 105 | |
sdizdarevic | 0:5bdb67970267 | 106 | /** Clears |
sdizdarevic | 0:5bdb67970267 | 107 | * |
sdizdarevic | 0:5bdb67970267 | 108 | * Clears the screen. |
sdizdarevic | 0:5bdb67970267 | 109 | */ |
sdizdarevic | 0:5bdb67970267 | 110 | void clear(); |
sdizdarevic | 0:5bdb67970267 | 111 | |
sdizdarevic | 0:5bdb67970267 | 112 | /** Turn on normal video mode (default) |
sdizdarevic | 0:5bdb67970267 | 113 | * Black on white |
sdizdarevic | 0:5bdb67970267 | 114 | */ |
sdizdarevic | 0:5bdb67970267 | 115 | void normalMode(); |
sdizdarevic | 0:5bdb67970267 | 116 | |
sdizdarevic | 0:5bdb67970267 | 117 | /** Turn on inverse video mode (default) |
sdizdarevic | 0:5bdb67970267 | 118 | * White on black |
sdizdarevic | 0:5bdb67970267 | 119 | */ |
sdizdarevic | 0:5bdb67970267 | 120 | void inverseMode(); |
sdizdarevic | 0:5bdb67970267 | 121 | |
sdizdarevic | 0:5bdb67970267 | 122 | /** Set Brightness |
sdizdarevic | 0:5bdb67970267 | 123 | * |
sdizdarevic | 0:5bdb67970267 | 124 | * Sets brightness of LED backlight. |
sdizdarevic | 0:5bdb67970267 | 125 | * @param brightness - float in range 0.0 to 1.0 |
sdizdarevic | 0:5bdb67970267 | 126 | */ |
sdizdarevic | 0:5bdb67970267 | 127 | void setBrightness(float brightness); |
sdizdarevic | 0:5bdb67970267 | 128 | |
sdizdarevic | 0:5bdb67970267 | 129 | /** Set XY Address |
sdizdarevic | 0:5bdb67970267 | 130 | * |
sdizdarevic | 0:5bdb67970267 | 131 | * Sets the X and Y address of where the next data sent to the displa will be written in RAM. |
sdizdarevic | 0:5bdb67970267 | 132 | * @param x - the column number (0 to 83) - is automatically incremented after data is written |
sdizdarevic | 0:5bdb67970267 | 133 | * @param y - the row number (0 to 5) - the diplay is split into 6 banks - each bank can be considered a row |
sdizdarevic | 0:5bdb67970267 | 134 | */ |
sdizdarevic | 0:5bdb67970267 | 135 | void setXYAddress(int x, int y); |
sdizdarevic | 0:5bdb67970267 | 136 | |
sdizdarevic | 0:5bdb67970267 | 137 | /** Print String |
sdizdarevic | 0:5bdb67970267 | 138 | * |
sdizdarevic | 0:5bdb67970267 | 139 | * Prints a string of characters to the display. |
sdizdarevic | 0:5bdb67970267 | 140 | * @param x - the column number (0 to 83) |
sdizdarevic | 0:5bdb67970267 | 141 | * @param y - the row number (0 to 5) - the display is split into 6 banks - each bank can be considered a row |
sdizdarevic | 0:5bdb67970267 | 142 | */ |
sdizdarevic | 0:5bdb67970267 | 143 | void printString(const char * str,int x,int y); |
sdizdarevic | 0:5bdb67970267 | 144 | |
sdizdarevic | 0:5bdb67970267 | 145 | /** Print Character |
sdizdarevic | 0:5bdb67970267 | 146 | * |
sdizdarevic | 0:5bdb67970267 | 147 | * Sends a character to the display. Will be printed at the current address. |
sdizdarevic | 0:5bdb67970267 | 148 | * X address is autoincremented by 1 to leave a pixel between successive characters. |
sdizdarevic | 0:5bdb67970267 | 149 | * @param c - the character to print. Can print ASCII as so printChar('C'). |
sdizdarevic | 0:5bdb67970267 | 150 | */ |
sdizdarevic | 0:5bdb67970267 | 151 | void printChar(char c); |
sdizdarevic | 0:5bdb67970267 | 152 | |
sdizdarevic | 0:5bdb67970267 | 153 | /** Set a Pixel |
sdizdarevic | 0:5bdb67970267 | 154 | * |
sdizdarevic | 0:5bdb67970267 | 155 | * This function sets a pixel in the display. A call to refresh() must be made |
sdizdarevic | 0:5bdb67970267 | 156 | * to update the display to reflect the change in pixels. |
sdizdarevic | 0:5bdb67970267 | 157 | * @param x - the x co-ordinate of the pixel (0 to 83) |
sdizdarevic | 0:5bdb67970267 | 158 | * @param y - the y co-ordinate of the pixel (0 to 47) |
sdizdarevic | 0:5bdb67970267 | 159 | */ |
sdizdarevic | 0:5bdb67970267 | 160 | void setPixel(int x, int y); |
sdizdarevic | 0:5bdb67970267 | 161 | |
sdizdarevic | 0:5bdb67970267 | 162 | /** Clear a Pixel |
sdizdarevic | 0:5bdb67970267 | 163 | * |
sdizdarevic | 0:5bdb67970267 | 164 | * This function clears pixel in the display. A call to refresh() must be made |
sdizdarevic | 0:5bdb67970267 | 165 | * to update the display to reflect the change in pixels. |
sdizdarevic | 0:5bdb67970267 | 166 | * @param x - the x co-ordinate of the pixel (0 to 83) |
sdizdarevic | 0:5bdb67970267 | 167 | * @param y - the y co-ordinate of the pixel (0 to 47) |
sdizdarevic | 0:5bdb67970267 | 168 | */ |
sdizdarevic | 0:5bdb67970267 | 169 | void clearPixel(int x, int y); |
sdizdarevic | 0:5bdb67970267 | 170 | |
sdizdarevic | 0:5bdb67970267 | 171 | /** Get a Pixel |
sdizdarevic | 0:5bdb67970267 | 172 | * |
sdizdarevic | 0:5bdb67970267 | 173 | * This function gets the status of a pixel in the display. |
sdizdarevic | 0:5bdb67970267 | 174 | * @param x - the x co-ordinate of the pixel (0 to 83) |
sdizdarevic | 0:5bdb67970267 | 175 | * @param y - the y co-ordinate of the pixel (0 to 47) |
sdizdarevic | 0:5bdb67970267 | 176 | * @returns |
sdizdarevic | 0:5bdb67970267 | 177 | * 0 - pixel is clear |
sdizdarevic | 0:5bdb67970267 | 178 | * non-zero - pixel is set |
sdizdarevic | 0:5bdb67970267 | 179 | */ |
sdizdarevic | 0:5bdb67970267 | 180 | unsigned char getPixel(int x, int y); |
sdizdarevic | 0:5bdb67970267 | 181 | |
sdizdarevic | 0:5bdb67970267 | 182 | /** Refresh display |
sdizdarevic | 0:5bdb67970267 | 183 | * |
sdizdarevic | 0:5bdb67970267 | 184 | * This functions refreshes the display to reflect the current data in the buffer. |
sdizdarevic | 0:5bdb67970267 | 185 | */ |
sdizdarevic | 0:5bdb67970267 | 186 | void refresh(); |
sdizdarevic | 0:5bdb67970267 | 187 | |
sdizdarevic | 0:5bdb67970267 | 188 | /** Randomise buffer |
sdizdarevic | 0:5bdb67970267 | 189 | * |
sdizdarevic | 0:5bdb67970267 | 190 | * This function fills the buffer with random data. Can be used to test the display. |
sdizdarevic | 0:5bdb67970267 | 191 | * A call to refresh() must be made to update the display to reflect the change in pixels. |
sdizdarevic | 0:5bdb67970267 | 192 | * The seed is not set and so the generated pattern will probably be the same each time. |
sdizdarevic | 0:5bdb67970267 | 193 | * TODO: Randomise the seed - maybe using the noise on the AnalogIn pins. |
sdizdarevic | 0:5bdb67970267 | 194 | */ |
sdizdarevic | 0:5bdb67970267 | 195 | void randomiseBuffer(); |
sdizdarevic | 0:5bdb67970267 | 196 | |
sdizdarevic | 0:5bdb67970267 | 197 | private: |
sdizdarevic | 0:5bdb67970267 | 198 | void initSPI(); |
sdizdarevic | 0:5bdb67970267 | 199 | void turnOn(); |
sdizdarevic | 0:5bdb67970267 | 200 | void reset(); |
sdizdarevic | 0:5bdb67970267 | 201 | void clearRAM(); |
sdizdarevic | 0:5bdb67970267 | 202 | void clearBuffer(); |
sdizdarevic | 0:5bdb67970267 | 203 | void sendCommand(unsigned char command); |
sdizdarevic | 0:5bdb67970267 | 204 | void sendData(unsigned char data); |
sdizdarevic | 0:5bdb67970267 | 205 | |
sdizdarevic | 0:5bdb67970267 | 206 | public: |
sdizdarevic | 0:5bdb67970267 | 207 | unsigned char buffer[84][6]; // screen buffer - the 6 is for the banks - each one is 8 bits; |
sdizdarevic | 0:5bdb67970267 | 208 | |
sdizdarevic | 0:5bdb67970267 | 209 | private: // private variables |
sdizdarevic | 0:5bdb67970267 | 210 | SPI* spi; |
sdizdarevic | 0:5bdb67970267 | 211 | PwmOut* led; |
sdizdarevic | 0:5bdb67970267 | 212 | DigitalOut* pwr; |
sdizdarevic | 0:5bdb67970267 | 213 | DigitalOut* sce; |
sdizdarevic | 0:5bdb67970267 | 214 | DigitalOut* rst; |
sdizdarevic | 0:5bdb67970267 | 215 | DigitalOut* dc; |
sdizdarevic | 0:5bdb67970267 | 216 | |
sdizdarevic | 0:5bdb67970267 | 217 | }; |
sdizdarevic | 0:5bdb67970267 | 218 | |
sdizdarevic | 0:5bdb67970267 | 219 | const unsigned char font5x7[480] = { |
sdizdarevic | 0:5bdb67970267 | 220 | 0x00, 0x00, 0x00, 0x00, 0x00,// (space) |
sdizdarevic | 0:5bdb67970267 | 221 | 0x00, 0x00, 0x5F, 0x00, 0x00,// ! |
sdizdarevic | 0:5bdb67970267 | 222 | 0x00, 0x07, 0x00, 0x07, 0x00,// " |
sdizdarevic | 0:5bdb67970267 | 223 | 0x14, 0x7F, 0x14, 0x7F, 0x14,// # |
sdizdarevic | 0:5bdb67970267 | 224 | 0x24, 0x2A, 0x7F, 0x2A, 0x12,// $ |
sdizdarevic | 0:5bdb67970267 | 225 | 0x23, 0x13, 0x08, 0x64, 0x62,// % |
sdizdarevic | 0:5bdb67970267 | 226 | 0x36, 0x49, 0x55, 0x22, 0x50,// & |
sdizdarevic | 0:5bdb67970267 | 227 | 0x00, 0x05, 0x03, 0x00, 0x00,// ' |
sdizdarevic | 0:5bdb67970267 | 228 | 0x00, 0x1C, 0x22, 0x41, 0x00,// ( |
sdizdarevic | 0:5bdb67970267 | 229 | 0x00, 0x41, 0x22, 0x1C, 0x00,// ) |
sdizdarevic | 0:5bdb67970267 | 230 | 0x08, 0x2A, 0x1C, 0x2A, 0x08,// * |
sdizdarevic | 0:5bdb67970267 | 231 | 0x08, 0x08, 0x3E, 0x08, 0x08,// + |
sdizdarevic | 0:5bdb67970267 | 232 | 0x00, 0x50, 0x30, 0x00, 0x00,// , |
sdizdarevic | 0:5bdb67970267 | 233 | 0x08, 0x08, 0x08, 0x08, 0x08,// - |
sdizdarevic | 0:5bdb67970267 | 234 | 0x00, 0x60, 0x60, 0x00, 0x00,// . |
sdizdarevic | 0:5bdb67970267 | 235 | 0x20, 0x10, 0x08, 0x04, 0x02,// / |
sdizdarevic | 0:5bdb67970267 | 236 | 0x3E, 0x51, 0x49, 0x45, 0x3E,// 0 |
sdizdarevic | 0:5bdb67970267 | 237 | 0x00, 0x42, 0x7F, 0x40, 0x00,// 1 |
sdizdarevic | 0:5bdb67970267 | 238 | 0x42, 0x61, 0x51, 0x49, 0x46,// 2 |
sdizdarevic | 0:5bdb67970267 | 239 | 0x21, 0x41, 0x45, 0x4B, 0x31,// 3 |
sdizdarevic | 0:5bdb67970267 | 240 | 0x18, 0x14, 0x12, 0x7F, 0x10,// 4 |
sdizdarevic | 0:5bdb67970267 | 241 | 0x27, 0x45, 0x45, 0x45, 0x39,// 5 |
sdizdarevic | 0:5bdb67970267 | 242 | 0x3C, 0x4A, 0x49, 0x49, 0x30,// 6 |
sdizdarevic | 0:5bdb67970267 | 243 | 0x01, 0x71, 0x09, 0x05, 0x03,// 7 |
sdizdarevic | 0:5bdb67970267 | 244 | 0x36, 0x49, 0x49, 0x49, 0x36,// 8 |
sdizdarevic | 0:5bdb67970267 | 245 | 0x06, 0x49, 0x49, 0x29, 0x1E,// 9 |
sdizdarevic | 0:5bdb67970267 | 246 | 0x00, 0x36, 0x36, 0x00, 0x00,// : |
sdizdarevic | 0:5bdb67970267 | 247 | 0x00, 0x56, 0x36, 0x00, 0x00,// ; |
sdizdarevic | 0:5bdb67970267 | 248 | 0x00, 0x08, 0x14, 0x22, 0x41,// < |
sdizdarevic | 0:5bdb67970267 | 249 | 0x14, 0x14, 0x14, 0x14, 0x14,// = |
sdizdarevic | 0:5bdb67970267 | 250 | 0x41, 0x22, 0x14, 0x08, 0x00,// > |
sdizdarevic | 0:5bdb67970267 | 251 | 0x02, 0x01, 0x51, 0x09, 0x06,// ? |
sdizdarevic | 0:5bdb67970267 | 252 | 0x32, 0x49, 0x79, 0x41, 0x3E,// @ |
sdizdarevic | 0:5bdb67970267 | 253 | 0x7E, 0x11, 0x11, 0x11, 0x7E,// A |
sdizdarevic | 0:5bdb67970267 | 254 | 0x7F, 0x49, 0x49, 0x49, 0x36,// B |
sdizdarevic | 0:5bdb67970267 | 255 | 0x3E, 0x41, 0x41, 0x41, 0x22,// C |
sdizdarevic | 0:5bdb67970267 | 256 | 0x7F, 0x41, 0x41, 0x22, 0x1C,// D |
sdizdarevic | 0:5bdb67970267 | 257 | 0x7F, 0x49, 0x49, 0x49, 0x41,// E |
sdizdarevic | 0:5bdb67970267 | 258 | 0x7F, 0x09, 0x09, 0x01, 0x01,// F |
sdizdarevic | 0:5bdb67970267 | 259 | 0x3E, 0x41, 0x41, 0x51, 0x32,// G |
sdizdarevic | 0:5bdb67970267 | 260 | 0x7F, 0x08, 0x08, 0x08, 0x7F,// H |
sdizdarevic | 0:5bdb67970267 | 261 | 0x00, 0x41, 0x7F, 0x41, 0x00,// I |
sdizdarevic | 0:5bdb67970267 | 262 | 0x20, 0x40, 0x41, 0x3F, 0x01,// J |
sdizdarevic | 0:5bdb67970267 | 263 | 0x7F, 0x08, 0x14, 0x22, 0x41,// K |
sdizdarevic | 0:5bdb67970267 | 264 | 0x7F, 0x40, 0x40, 0x40, 0x40,// L |
sdizdarevic | 0:5bdb67970267 | 265 | 0x7F, 0x02, 0x04, 0x02, 0x7F,// M |
sdizdarevic | 0:5bdb67970267 | 266 | 0x7F, 0x04, 0x08, 0x10, 0x7F,// N |
sdizdarevic | 0:5bdb67970267 | 267 | 0x3E, 0x41, 0x41, 0x41, 0x3E,// O |
sdizdarevic | 0:5bdb67970267 | 268 | 0x7F, 0x09, 0x09, 0x09, 0x06,// P |
sdizdarevic | 0:5bdb67970267 | 269 | 0x3E, 0x41, 0x51, 0x21, 0x5E,// Q |
sdizdarevic | 0:5bdb67970267 | 270 | 0x7F, 0x09, 0x19, 0x29, 0x46,// R |
sdizdarevic | 0:5bdb67970267 | 271 | 0x46, 0x49, 0x49, 0x49, 0x31,// S |
sdizdarevic | 0:5bdb67970267 | 272 | 0x01, 0x01, 0x7F, 0x01, 0x01,// T |
sdizdarevic | 0:5bdb67970267 | 273 | 0x3F, 0x40, 0x40, 0x40, 0x3F,// U |
sdizdarevic | 0:5bdb67970267 | 274 | 0x1F, 0x20, 0x40, 0x20, 0x1F,// V |
sdizdarevic | 0:5bdb67970267 | 275 | 0x7F, 0x20, 0x18, 0x20, 0x7F,// W |
sdizdarevic | 0:5bdb67970267 | 276 | 0x63, 0x14, 0x08, 0x14, 0x63,// X |
sdizdarevic | 0:5bdb67970267 | 277 | 0x03, 0x04, 0x78, 0x04, 0x03,// Y |
sdizdarevic | 0:5bdb67970267 | 278 | 0x61, 0x51, 0x49, 0x45, 0x43,// Z |
sdizdarevic | 0:5bdb67970267 | 279 | 0x00, 0x00, 0x7F, 0x41, 0x41,// [ |
sdizdarevic | 0:5bdb67970267 | 280 | 0x02, 0x04, 0x08, 0x10, 0x20,// "\" |
sdizdarevic | 0:5bdb67970267 | 281 | 0x41, 0x41, 0x7F, 0x00, 0x00,// ] |
sdizdarevic | 0:5bdb67970267 | 282 | 0x04, 0x02, 0x01, 0x02, 0x04,// ^ |
sdizdarevic | 0:5bdb67970267 | 283 | 0x40, 0x40, 0x40, 0x40, 0x40,// _ |
sdizdarevic | 0:5bdb67970267 | 284 | 0x00, 0x01, 0x02, 0x04, 0x00,// ` |
sdizdarevic | 0:5bdb67970267 | 285 | 0x20, 0x54, 0x54, 0x54, 0x78,// a |
sdizdarevic | 0:5bdb67970267 | 286 | 0x7F, 0x48, 0x44, 0x44, 0x38,// b |
sdizdarevic | 0:5bdb67970267 | 287 | 0x38, 0x44, 0x44, 0x44, 0x20,// c |
sdizdarevic | 0:5bdb67970267 | 288 | 0x38, 0x44, 0x44, 0x48, 0x7F,// d |
sdizdarevic | 0:5bdb67970267 | 289 | 0x38, 0x54, 0x54, 0x54, 0x18,// e |
sdizdarevic | 0:5bdb67970267 | 290 | 0x08, 0x7E, 0x09, 0x01, 0x02,// f |
sdizdarevic | 0:5bdb67970267 | 291 | 0x08, 0x14, 0x54, 0x54, 0x3C,// g |
sdizdarevic | 0:5bdb67970267 | 292 | 0x7F, 0x08, 0x04, 0x04, 0x78,// h |
sdizdarevic | 0:5bdb67970267 | 293 | 0x00, 0x44, 0x7D, 0x40, 0x00,// i |
sdizdarevic | 0:5bdb67970267 | 294 | 0x20, 0x40, 0x44, 0x3D, 0x00,// j |
sdizdarevic | 0:5bdb67970267 | 295 | 0x00, 0x7F, 0x10, 0x28, 0x44,// k |
sdizdarevic | 0:5bdb67970267 | 296 | 0x00, 0x41, 0x7F, 0x40, 0x00,// l |
sdizdarevic | 0:5bdb67970267 | 297 | 0x7C, 0x04, 0x18, 0x04, 0x78,// m |
sdizdarevic | 0:5bdb67970267 | 298 | 0x7C, 0x08, 0x04, 0x04, 0x78,// n |
sdizdarevic | 0:5bdb67970267 | 299 | 0x38, 0x44, 0x44, 0x44, 0x38,// o |
sdizdarevic | 0:5bdb67970267 | 300 | 0x7C, 0x14, 0x14, 0x14, 0x08,// p |
sdizdarevic | 0:5bdb67970267 | 301 | 0x08, 0x14, 0x14, 0x18, 0x7C,// q |
sdizdarevic | 0:5bdb67970267 | 302 | 0x7C, 0x08, 0x04, 0x04, 0x08,// r |
sdizdarevic | 0:5bdb67970267 | 303 | 0x48, 0x54, 0x54, 0x54, 0x20,// s |
sdizdarevic | 0:5bdb67970267 | 304 | 0x04, 0x3F, 0x44, 0x40, 0x20,// t |
sdizdarevic | 0:5bdb67970267 | 305 | 0x3C, 0x40, 0x40, 0x20, 0x7C,// u |
sdizdarevic | 0:5bdb67970267 | 306 | 0x1C, 0x20, 0x40, 0x20, 0x1C,// v |
sdizdarevic | 0:5bdb67970267 | 307 | 0x3C, 0x40, 0x30, 0x40, 0x3C,// w |
sdizdarevic | 0:5bdb67970267 | 308 | 0x44, 0x28, 0x10, 0x28, 0x44,// x |
sdizdarevic | 0:5bdb67970267 | 309 | 0x0C, 0x50, 0x50, 0x50, 0x3C,// y |
sdizdarevic | 0:5bdb67970267 | 310 | 0x44, 0x64, 0x54, 0x4C, 0x44,// z |
sdizdarevic | 0:5bdb67970267 | 311 | 0x00, 0x08, 0x36, 0x41, 0x00,// { |
sdizdarevic | 0:5bdb67970267 | 312 | 0x00, 0x00, 0x7F, 0x00, 0x00,// | |
sdizdarevic | 0:5bdb67970267 | 313 | 0x00, 0x41, 0x36, 0x08, 0x00,// } |
sdizdarevic | 0:5bdb67970267 | 314 | 0x08, 0x08, 0x2A, 0x1C, 0x08,// -> |
sdizdarevic | 0:5bdb67970267 | 315 | 0x08, 0x1C, 0x2A, 0x08, 0x08 // <- |
sdizdarevic | 0:5bdb67970267 | 316 | }; |
sdizdarevic | 0:5bdb67970267 | 317 | |
sdizdarevic | 0:5bdb67970267 | 318 | #endif |