A collection of Analog Devices drivers for the mbed platform

For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all

Committer:
Adrian Suciu
Date:
Tue May 17 14:21:17 2016 +0300
Revision:
19:fb92949e59c9
Added ADXL362 driver & reference project

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Adrian Suciu 19:fb92949e59c9 1 /**
Adrian Suciu 19:fb92949e59c9 2 ******************************************************************************
Adrian Suciu 19:fb92949e59c9 3 * @file Lcd.c
Adrian Suciu 19:fb92949e59c9 4 * @brief Source file for ST7565R LCD control.
Adrian Suciu 19:fb92949e59c9 5 * @author ADI
Adrian Suciu 19:fb92949e59c9 6 * @date March 2016
Adrian Suciu 19:fb92949e59c9 7 *
Adrian Suciu 19:fb92949e59c9 8 *******************************************************************************
Adrian Suciu 19:fb92949e59c9 9 * Copyright 2015(c) Analog Devices, Inc.
Adrian Suciu 19:fb92949e59c9 10 *
Adrian Suciu 19:fb92949e59c9 11 * All rights reserved.
Adrian Suciu 19:fb92949e59c9 12 *
Adrian Suciu 19:fb92949e59c9 13 * Redistribution and use in source and binary forms, with or without modification,
Adrian Suciu 19:fb92949e59c9 14 * are permitted provided that the following conditions are met:
Adrian Suciu 19:fb92949e59c9 15 * - Redistributions of source code must retain the above copyright
Adrian Suciu 19:fb92949e59c9 16 * notice, this list of conditions and the following disclaimer.
Adrian Suciu 19:fb92949e59c9 17 * - Redistributions in binary form must reproduce the above copyright
Adrian Suciu 19:fb92949e59c9 18 * notice, this list of conditions and the following disclaimer in
Adrian Suciu 19:fb92949e59c9 19 * the documentation and/or other materials provided with the
Adrian Suciu 19:fb92949e59c9 20 * distribution.
Adrian Suciu 19:fb92949e59c9 21 * - Neither the name of Analog Devices, Inc. nor the names of its
Adrian Suciu 19:fb92949e59c9 22 * contributors may be used to endorse or promote products derived
Adrian Suciu 19:fb92949e59c9 23 * from this software without specific prior written permission.
Adrian Suciu 19:fb92949e59c9 24 * - The use of this software may or may not infringe the patent rights
Adrian Suciu 19:fb92949e59c9 25 * of one or more patent holders. This license does not release you
Adrian Suciu 19:fb92949e59c9 26 * from the requirement that you obtain separate licenses from these
Adrian Suciu 19:fb92949e59c9 27 * patent holders to use this software.
Adrian Suciu 19:fb92949e59c9 28 * - Use of the software either in source or binary form, must be run
Adrian Suciu 19:fb92949e59c9 29 * on or directly connected to an Analog Devices Inc. component.
Adrian Suciu 19:fb92949e59c9 30 *
Adrian Suciu 19:fb92949e59c9 31 * THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED
Adrian Suciu 19:fb92949e59c9 32 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY
Adrian Suciu 19:fb92949e59c9 33 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
Adrian Suciu 19:fb92949e59c9 34 * IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
Adrian Suciu 19:fb92949e59c9 35 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
Adrian Suciu 19:fb92949e59c9 36 * INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
Adrian Suciu 19:fb92949e59c9 37 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
Adrian Suciu 19:fb92949e59c9 38 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Adrian Suciu 19:fb92949e59c9 39 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
Adrian Suciu 19:fb92949e59c9 40 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Adrian Suciu 19:fb92949e59c9 41 *
Adrian Suciu 19:fb92949e59c9 42 *******************************************************************************
Adrian Suciu 19:fb92949e59c9 43 **/
Adrian Suciu 19:fb92949e59c9 44
Adrian Suciu 19:fb92949e59c9 45 /******************************************************************************/
Adrian Suciu 19:fb92949e59c9 46 /***************************** Include Files **********************************/
Adrian Suciu 19:fb92949e59c9 47 /******************************************************************************/
Adrian Suciu 19:fb92949e59c9 48 #include "mbed.h"
Adrian Suciu 19:fb92949e59c9 49 #include "lcd.h"
Adrian Suciu 19:fb92949e59c9 50
Adrian Suciu 19:fb92949e59c9 51
Adrian Suciu 19:fb92949e59c9 52
Adrian Suciu 19:fb92949e59c9 53 Lcd::Lcd(PinName rst_pin, PinName a0_pin, PinName bl_pin,
Adrian Suciu 19:fb92949e59c9 54 PinName cs_pin, PinName MOSI,
Adrian Suciu 19:fb92949e59c9 55 PinName MISO, PinName SCK) :
Adrian Suciu 19:fb92949e59c9 56
Adrian Suciu 19:fb92949e59c9 57 rst(rst_pin), a0(a0_pin), bl(bl_pin), cs(cs_pin), lcd_spi(MOSI, MISO, SCK)
Adrian Suciu 19:fb92949e59c9 58 {
Adrian Suciu 19:fb92949e59c9 59 rst = 1;
Adrian Suciu 19:fb92949e59c9 60 }
Adrian Suciu 19:fb92949e59c9 61
Adrian Suciu 19:fb92949e59c9 62 /**
Adrian Suciu 19:fb92949e59c9 63 @brief Initialization of LCD screen
Adrian Suciu 19:fb92949e59c9 64 @return none
Adrian Suciu 19:fb92949e59c9 65 **/
Adrian Suciu 19:fb92949e59c9 66
Adrian Suciu 19:fb92949e59c9 67 void Lcd::write_cmd(uint8_t cmd)
Adrian Suciu 19:fb92949e59c9 68 {
Adrian Suciu 19:fb92949e59c9 69 cs = 0;
Adrian Suciu 19:fb92949e59c9 70 a0 = 0;
Adrian Suciu 19:fb92949e59c9 71 lcd_spi.write(cmd);
Adrian Suciu 19:fb92949e59c9 72 cs = 1;
Adrian Suciu 19:fb92949e59c9 73 }
Adrian Suciu 19:fb92949e59c9 74
Adrian Suciu 19:fb92949e59c9 75 void Lcd::write_data(uint8_t data)
Adrian Suciu 19:fb92949e59c9 76 {
Adrian Suciu 19:fb92949e59c9 77 cs = 0;
Adrian Suciu 19:fb92949e59c9 78 a0 = 1;
Adrian Suciu 19:fb92949e59c9 79 lcd_spi.write(data);
Adrian Suciu 19:fb92949e59c9 80 cs = 1;
Adrian Suciu 19:fb92949e59c9 81 }
Adrian Suciu 19:fb92949e59c9 82
Adrian Suciu 19:fb92949e59c9 83 void Lcd::bl_enable()
Adrian Suciu 19:fb92949e59c9 84 {
Adrian Suciu 19:fb92949e59c9 85 bl = 1;
Adrian Suciu 19:fb92949e59c9 86 }
Adrian Suciu 19:fb92949e59c9 87
Adrian Suciu 19:fb92949e59c9 88 void Lcd::bl_disable()
Adrian Suciu 19:fb92949e59c9 89 {
Adrian Suciu 19:fb92949e59c9 90 bl = 0;
Adrian Suciu 19:fb92949e59c9 91 }
Adrian Suciu 19:fb92949e59c9 92
Adrian Suciu 19:fb92949e59c9 93 void Lcd::init(void)
Adrian Suciu 19:fb92949e59c9 94 {
Adrian Suciu 19:fb92949e59c9 95
Adrian Suciu 19:fb92949e59c9 96 write_cmd(CMD_DISPLAY_OFF);
Adrian Suciu 19:fb92949e59c9 97 write_cmd(CMD_SET_BIAS_7);
Adrian Suciu 19:fb92949e59c9 98 write_cmd(CMD_SET_ADC_NORMAL);
Adrian Suciu 19:fb92949e59c9 99 write_cmd(CMD_SET_COM_REVERSE);
Adrian Suciu 19:fb92949e59c9 100 write_cmd((CMD_SET_RESISTOR_RATIO | 0x02));
Adrian Suciu 19:fb92949e59c9 101 write_cmd(CMD_SET_VOLUME_FIRST);
Adrian Suciu 19:fb92949e59c9 102 write_cmd((CMD_SET_VOLUME_SECOND | 0x04));
Adrian Suciu 19:fb92949e59c9 103 write_cmd((CMD_SET_POWER_CONTROL | 0x07));
Adrian Suciu 19:fb92949e59c9 104 fill_pages(0, 8, 0x00);
Adrian Suciu 19:fb92949e59c9 105
Adrian Suciu 19:fb92949e59c9 106 }
Adrian Suciu 19:fb92949e59c9 107
Adrian Suciu 19:fb92949e59c9 108 /**
Adrian Suciu 19:fb92949e59c9 109 @brief Displays a string at the specified position for with 5x7 font size.
Adrian Suciu 19:fb92949e59c9 110 @return none
Adrian Suciu 19:fb92949e59c9 111 **/
Adrian Suciu 19:fb92949e59c9 112 void Lcd::display_string(uint8_t ui8row, uint8_t ui8col, int8_t *pi8str)
Adrian Suciu 19:fb92949e59c9 113 {
Adrian Suciu 19:fb92949e59c9 114 uint8_t ui8x;
Adrian Suciu 19:fb92949e59c9 115 uint8_t ui8i;
Adrian Suciu 19:fb92949e59c9 116 uint8_t ui8ch;
Adrian Suciu 19:fb92949e59c9 117 uint8_t ui8data;
Adrian Suciu 19:fb92949e59c9 118
Adrian Suciu 19:fb92949e59c9 119 ui8ch = 0;
Adrian Suciu 19:fb92949e59c9 120 ui8x = ui8col;
Adrian Suciu 19:fb92949e59c9 121
Adrian Suciu 19:fb92949e59c9 122 while ((pi8str[ui8ch] != 0) && (ui8col < LCD_COLUMNS)) {
Adrian Suciu 19:fb92949e59c9 123 set_cursor(ui8row, ui8x); /* Set cursor position */
Adrian Suciu 19:fb92949e59c9 124
Adrian Suciu 19:fb92949e59c9 125 for (ui8i = 0; ui8i < 5; ui8i++) { /* Symbol matrix column loop */
Adrian Suciu 19:fb92949e59c9 126 ui8data = pui8font5x7[pi8str[ui8ch] - OFFS_ASCII][ui8i];
Adrian Suciu 19:fb92949e59c9 127
Adrian Suciu 19:fb92949e59c9 128 write_data(ui8data);
Adrian Suciu 19:fb92949e59c9 129 }
Adrian Suciu 19:fb92949e59c9 130
Adrian Suciu 19:fb92949e59c9 131 ui8x += 6; /* Increase column counter with 6 pixels */
Adrian Suciu 19:fb92949e59c9 132 ui8ch++; /* Increment counter */
Adrian Suciu 19:fb92949e59c9 133 }
Adrian Suciu 19:fb92949e59c9 134 write_cmd(CMD_DISPLAY_ON);
Adrian Suciu 19:fb92949e59c9 135
Adrian Suciu 19:fb92949e59c9 136 }
Adrian Suciu 19:fb92949e59c9 137
Adrian Suciu 19:fb92949e59c9 138 /**
Adrian Suciu 19:fb92949e59c9 139 @brief Displays a symbol (8 x width) at the specified position on the LCD.
Adrian Suciu 19:fb92949e59c9 140 @param ui8row - row number
Adrian Suciu 19:fb92949e59c9 141 @param ui8col - column number
Adrian Suciu 19:fb92949e59c9 142 @param ui8width - symbol width
Adrian Suciu 19:fb92949e59c9 143 @param pui8symbol - symbol to display
Adrian Suciu 19:fb92949e59c9 144 @return none
Adrian Suciu 19:fb92949e59c9 145 **/
Adrian Suciu 19:fb92949e59c9 146
Adrian Suciu 19:fb92949e59c9 147 void Lcd::display_symbol(uint8_t ui8row, uint8_t ui8col, uint8_t ui8width,
Adrian Suciu 19:fb92949e59c9 148 const uint8_t *pui8symbol)
Adrian Suciu 19:fb92949e59c9 149 {
Adrian Suciu 19:fb92949e59c9 150 uint8_t ui8i;
Adrian Suciu 19:fb92949e59c9 151 uint8_t ui8data;
Adrian Suciu 19:fb92949e59c9 152
Adrian Suciu 19:fb92949e59c9 153 set_cursor(ui8row, ui8col); /* Set cursor position */
Adrian Suciu 19:fb92949e59c9 154 for (ui8i = 0; ui8i < ui8width; ui8i++) { /* Symbol matrix column loop */
Adrian Suciu 19:fb92949e59c9 155 ui8data = pui8symbol[ui8i];
Adrian Suciu 19:fb92949e59c9 156 write_data(ui8data);
Adrian Suciu 19:fb92949e59c9 157 }
Adrian Suciu 19:fb92949e59c9 158 write_cmd(CMD_DISPLAY_ON);
Adrian Suciu 19:fb92949e59c9 159 }
Adrian Suciu 19:fb92949e59c9 160
Adrian Suciu 19:fb92949e59c9 161 /**
Adrian Suciu 19:fb92949e59c9 162 @brief Fills the selected LCD pages with the data specified.
Adrian Suciu 19:fb92949e59c9 163 @param ui8start - start element
Adrian Suciu 19:fb92949e59c9 164 @param ui8num - elements numbers to fill
Adrian Suciu 19:fb92949e59c9 165 @param ui8Data - data to fill
Adrian Suciu 19:fb92949e59c9 166 @return none
Adrian Suciu 19:fb92949e59c9 167 **/
Adrian Suciu 19:fb92949e59c9 168
Adrian Suciu 19:fb92949e59c9 169 void Lcd::fill_pages(uint8_t ui8start, uint8_t ui8num, uint8_t ui8Data)
Adrian Suciu 19:fb92949e59c9 170 {
Adrian Suciu 19:fb92949e59c9 171
Adrian Suciu 19:fb92949e59c9 172 uint8_t ui8p;
Adrian Suciu 19:fb92949e59c9 173 uint8_t ui8c;
Adrian Suciu 19:fb92949e59c9 174
Adrian Suciu 19:fb92949e59c9 175 for (ui8p = ui8start; ui8p < (ui8start + ui8num); ui8p++) {
Adrian Suciu 19:fb92949e59c9 176 set_cursor(ui8p, 0);
Adrian Suciu 19:fb92949e59c9 177
Adrian Suciu 19:fb92949e59c9 178 for (ui8c = 0; ui8c < LCD_COLUMNS; ui8c++) {
Adrian Suciu 19:fb92949e59c9 179 write_data(ui8Data);
Adrian Suciu 19:fb92949e59c9 180 }
Adrian Suciu 19:fb92949e59c9 181 }
Adrian Suciu 19:fb92949e59c9 182
Adrian Suciu 19:fb92949e59c9 183 write_cmd(CMD_DISPLAY_ON);
Adrian Suciu 19:fb92949e59c9 184 }
Adrian Suciu 19:fb92949e59c9 185
Adrian Suciu 19:fb92949e59c9 186 /**
Adrian Suciu 19:fb92949e59c9 187 @brief Sets the start line of the LCD.
Adrian Suciu 19:fb92949e59c9 188 @param ui8line - line to start with
Adrian Suciu 19:fb92949e59c9 189 @return none
Adrian Suciu 19:fb92949e59c9 190 **/
Adrian Suciu 19:fb92949e59c9 191
Adrian Suciu 19:fb92949e59c9 192 void Lcd::set_line(uint8_t ui8line)
Adrian Suciu 19:fb92949e59c9 193 {
Adrian Suciu 19:fb92949e59c9 194
Adrian Suciu 19:fb92949e59c9 195 uint8_t ui8Cmd;
Adrian Suciu 19:fb92949e59c9 196 ui8Cmd = CMD_SET_DISP_START_LINE | (ui8line & 0x3F); /* Set start line */
Adrian Suciu 19:fb92949e59c9 197 write_cmd(ui8Cmd);
Adrian Suciu 19:fb92949e59c9 198
Adrian Suciu 19:fb92949e59c9 199 }
Adrian Suciu 19:fb92949e59c9 200
Adrian Suciu 19:fb92949e59c9 201
Adrian Suciu 19:fb92949e59c9 202 /**
Adrian Suciu 19:fb92949e59c9 203 @brief Sets the cursor position at which data will be written.
Adrian Suciu 19:fb92949e59c9 204 @param ui8PA - page number
Adrian Suciu 19:fb92949e59c9 205 @param ui8CA - column number
Adrian Suciu 19:fb92949e59c9 206 @return none
Adrian Suciu 19:fb92949e59c9 207 **/
Adrian Suciu 19:fb92949e59c9 208
Adrian Suciu 19:fb92949e59c9 209 void Lcd::set_cursor(uint8_t ui8PA, uint8_t ui8CA)
Adrian Suciu 19:fb92949e59c9 210 {
Adrian Suciu 19:fb92949e59c9 211 uint8_t ui8Cmd;
Adrian Suciu 19:fb92949e59c9 212
Adrian Suciu 19:fb92949e59c9 213 ui8Cmd = 0xB0 | (ui8PA & 0x0F); /* Set page address */
Adrian Suciu 19:fb92949e59c9 214 write_cmd(ui8Cmd);
Adrian Suciu 19:fb92949e59c9 215
Adrian Suciu 19:fb92949e59c9 216 ui8Cmd = ui8CA & 0x0F; /* Set column address LSB CA[3:0] */
Adrian Suciu 19:fb92949e59c9 217 write_cmd(ui8Cmd);
Adrian Suciu 19:fb92949e59c9 218
Adrian Suciu 19:fb92949e59c9 219 ui8Cmd = 0x10 | (ui8CA >> 4); /* Set column address MSB CA[7:4] */
Adrian Suciu 19:fb92949e59c9 220 write_cmd(ui8Cmd);
Adrian Suciu 19:fb92949e59c9 221 }
Adrian Suciu 19:fb92949e59c9 222
Adrian Suciu 19:fb92949e59c9 223
Adrian Suciu 19:fb92949e59c9 224 const uint8_t Lcd::pui8Rec8x8[8] = {
Adrian Suciu 19:fb92949e59c9 225 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
Adrian Suciu 19:fb92949e59c9 226 };
Adrian Suciu 19:fb92949e59c9 227 const uint8_t Lcd::pui8RecInv8x8[8] = {
Adrian Suciu 19:fb92949e59c9 228 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF
Adrian Suciu 19:fb92949e59c9 229 };
Adrian Suciu 19:fb92949e59c9 230
Adrian Suciu 19:fb92949e59c9 231 const uint8_t Lcd::pui8font5x7[96][5] = {
Adrian Suciu 19:fb92949e59c9 232 {0x00, 0x00, 0x00, 0x00, 0x00}, /* 32 */
Adrian Suciu 19:fb92949e59c9 233 {0x00, 0x00, 0x4F, 0x00, 0x00}, /* ! 33 */
Adrian Suciu 19:fb92949e59c9 234 {0x00, 0x07, 0x00, 0x07, 0x00}, /* " 34 */
Adrian Suciu 19:fb92949e59c9 235 {0x14, 0x7F, 0x14, 0x7F, 0x14}, /* # 35 */
Adrian Suciu 19:fb92949e59c9 236 {0x24, 0x2A, 0x7F, 0x2A, 0x12}, /* $ 36 */
Adrian Suciu 19:fb92949e59c9 237 {0x23, 0x13, 0x08, 0x64, 0x62}, /* % 37 */
Adrian Suciu 19:fb92949e59c9 238 {0x36, 0x49, 0x55, 0x22, 0x50}, /* & 38 */
Adrian Suciu 19:fb92949e59c9 239 {0x00, 0x05, 0x03, 0x00, 0x00}, /* ' 39 */
Adrian Suciu 19:fb92949e59c9 240 {0x00, 0x1C, 0x22, 0x41, 0x00}, /* ( 40 */
Adrian Suciu 19:fb92949e59c9 241 {0x00, 0x41, 0x22, 0x1C, 0x00}, /* ) 41 */
Adrian Suciu 19:fb92949e59c9 242 {0x14, 0x08, 0x3E, 0x08, 0x14}, /* * 42 */
Adrian Suciu 19:fb92949e59c9 243 {0x08, 0x08, 0x3E, 0x08, 0x08}, /* + 43 */
Adrian Suciu 19:fb92949e59c9 244 {0x00, 0x50, 0x30, 0x00, 0x00}, /* , 44 */
Adrian Suciu 19:fb92949e59c9 245 {0x08, 0x08, 0x08, 0x08, 0x08}, /* - 45 */
Adrian Suciu 19:fb92949e59c9 246 {0x00, 0x60, 0x60, 0x00, 0x00}, /* . 46 */
Adrian Suciu 19:fb92949e59c9 247 {0x20, 0x10, 0x08, 0x04, 0x02}, /* / 47 */
Adrian Suciu 19:fb92949e59c9 248 {0x3E, 0x51, 0x49, 0x45, 0x3E}, /* 0 48 */
Adrian Suciu 19:fb92949e59c9 249 {0x00, 0x42, 0x7F, 0x40, 0x00}, /* 1 49 */
Adrian Suciu 19:fb92949e59c9 250 {0x42, 0x61, 0x51, 0x49, 0x46}, /* 2 50 */
Adrian Suciu 19:fb92949e59c9 251 {0x21, 0x41, 0x45, 0x4B, 0x31}, /* 3 51 */
Adrian Suciu 19:fb92949e59c9 252 {0x18, 0x14, 0x12, 0x7F, 0x10}, /* 4 52 */
Adrian Suciu 19:fb92949e59c9 253 {0x27, 0x45, 0x45, 0x45, 0x39}, /* 5 53 */
Adrian Suciu 19:fb92949e59c9 254 {0x3C, 0x4A, 0x49, 0x49, 0x30}, /* 6 54 */
Adrian Suciu 19:fb92949e59c9 255 {0x01, 0x71, 0x09, 0x05, 0x03}, /* 7 55 */
Adrian Suciu 19:fb92949e59c9 256 {0x36, 0x49, 0x49, 0x49, 0x36}, /* 8 56 */
Adrian Suciu 19:fb92949e59c9 257 {0x06, 0x49, 0x49, 0x29, 0x1E}, /* 9 57 */
Adrian Suciu 19:fb92949e59c9 258 {0x36, 0x36, 0x00, 0x00, 0x00}, /* : 58 */
Adrian Suciu 19:fb92949e59c9 259 {0x56, 0x36, 0x00, 0x00, 0x00}, /* ; 59 */
Adrian Suciu 19:fb92949e59c9 260 {0x08, 0x14, 0x22, 0x41, 0x00}, /* < 60 */
Adrian Suciu 19:fb92949e59c9 261 {0x14, 0x14, 0x14, 0x14, 0x14}, /* = 61 */
Adrian Suciu 19:fb92949e59c9 262 {0x00, 0x41, 0x22, 0x14, 0x08}, /* > 62 */
Adrian Suciu 19:fb92949e59c9 263 {0x02, 0x01, 0x51, 0x09, 0x06}, /* ? 63 */
Adrian Suciu 19:fb92949e59c9 264 {0x30, 0x49, 0x79, 0x41, 0x3E}, /* @ 64 */
Adrian Suciu 19:fb92949e59c9 265 {0x7E, 0x11, 0x11, 0x11, 0x7E}, /* A 65 */
Adrian Suciu 19:fb92949e59c9 266 {0x7F, 0x49, 0x49, 0x49, 0x36}, /* B 66 */
Adrian Suciu 19:fb92949e59c9 267 {0x3E, 0x41, 0x41, 0x41, 0x22}, /* C 67 */
Adrian Suciu 19:fb92949e59c9 268 {0x7F, 0x41, 0x41, 0x22, 0x1C}, /* D 68 */
Adrian Suciu 19:fb92949e59c9 269 {0x7F, 0x49, 0x49, 0x49, 0x41}, /* E 69 */
Adrian Suciu 19:fb92949e59c9 270 {0x7F, 0x09, 0x09, 0x09, 0x01}, /* F 70 */
Adrian Suciu 19:fb92949e59c9 271 {0x3E, 0x41, 0x49, 0x49, 0x7A}, /* G 71 */
Adrian Suciu 19:fb92949e59c9 272 {0x7F, 0x08, 0x08, 0x08, 0x7F}, /* H 72 */
Adrian Suciu 19:fb92949e59c9 273 {0x00, 0x41, 0x7F, 0x41, 0x00}, /* I 73 */
Adrian Suciu 19:fb92949e59c9 274 {0x20, 0x40, 0x41, 0x3F, 0x01}, /* J 74 */
Adrian Suciu 19:fb92949e59c9 275 {0x7F, 0x08, 0x14, 0x22, 0x41}, /* K 75 */
Adrian Suciu 19:fb92949e59c9 276 {0x7F, 0x40, 0x40, 0x40, 0x40}, /* L 76 */
Adrian Suciu 19:fb92949e59c9 277 {0x7F, 0x02, 0x0C, 0x02, 0x7F}, /* M 77 */
Adrian Suciu 19:fb92949e59c9 278 {0x7F, 0x04, 0x08, 0x10, 0x7F}, /* N 78 */
Adrian Suciu 19:fb92949e59c9 279 {0x3E, 0x41, 0x41, 0x41, 0x3E}, /* O 79 */
Adrian Suciu 19:fb92949e59c9 280 {0x7F, 0x09, 0x09, 0x09, 0x06}, /* P 80 */
Adrian Suciu 19:fb92949e59c9 281 {0x3E, 0x41, 0x51, 0x21, 0x5E}, /* Q 81 */
Adrian Suciu 19:fb92949e59c9 282 {0x7F, 0x09, 0x19, 0x29, 0x46}, /* R 82 */
Adrian Suciu 19:fb92949e59c9 283 {0x46, 0x49, 0x49, 0x49, 0x31}, /* S 83 */
Adrian Suciu 19:fb92949e59c9 284 {0x01, 0x01, 0x7F, 0x01, 0x01}, /* T 84 */
Adrian Suciu 19:fb92949e59c9 285 {0x3F, 0x40, 0x40, 0x40, 0x3F}, /* U 85 */
Adrian Suciu 19:fb92949e59c9 286 {0x1F, 0x20, 0x40, 0x20, 0x1F}, /* V 86 */
Adrian Suciu 19:fb92949e59c9 287 {0x3F, 0x40, 0x30, 0x40, 0x3F}, /* W 87 */
Adrian Suciu 19:fb92949e59c9 288 {0x63, 0x14, 0x08, 0x14, 0x63}, /* X 88 */
Adrian Suciu 19:fb92949e59c9 289 {0x07, 0x08, 0x70, 0x08, 0x07}, /* Y 89 */
Adrian Suciu 19:fb92949e59c9 290 {0x61, 0x51, 0x49, 0x45, 0x43}, /* Z 90 */
Adrian Suciu 19:fb92949e59c9 291 {0x00, 0x7F, 0x41, 0x41, 0x00}, /* [ 91 */
Adrian Suciu 19:fb92949e59c9 292 {0x02, 0x04, 0x08, 0x10, 0x20}, /* \ 92 */
Adrian Suciu 19:fb92949e59c9 293 {0x00, 0x41, 0x41, 0x7F, 0x00}, /* ] 93 */
Adrian Suciu 19:fb92949e59c9 294 {0x04, 0x02, 0x01, 0x02, 0x04}, /* ^ 94 */
Adrian Suciu 19:fb92949e59c9 295 {0x40, 0x40, 0x40, 0x40, 0x40}, /* _ 95 */
Adrian Suciu 19:fb92949e59c9 296 {0x00, 0x01, 0x02, 0x04, 0x00}, /* ` 96 */
Adrian Suciu 19:fb92949e59c9 297 {0x20, 0x54, 0x54, 0x54, 0x78}, /* a 97 */
Adrian Suciu 19:fb92949e59c9 298 {0x7F, 0x50, 0x48, 0x48, 0x30}, /* b 98 */
Adrian Suciu 19:fb92949e59c9 299 {0x38, 0x44, 0x44, 0x44, 0x20}, /* c 99 */
Adrian Suciu 19:fb92949e59c9 300 {0x38, 0x44, 0x44, 0x48, 0x7F}, /* d 100 */
Adrian Suciu 19:fb92949e59c9 301 {0x38, 0x54, 0x54, 0x54, 0x18}, /* e 101 */
Adrian Suciu 19:fb92949e59c9 302 {0x08, 0x7E, 0x09, 0x01, 0x02}, /* f 102 */
Adrian Suciu 19:fb92949e59c9 303 {0x0C, 0x52, 0x52, 0x52, 0x3E}, /* g 103 */
Adrian Suciu 19:fb92949e59c9 304 {0x7F, 0x08, 0x04, 0x04, 0x78}, /* h 104 */
Adrian Suciu 19:fb92949e59c9 305 {0x00, 0x44, 0x7D, 0x40, 0x00}, /* i 105 */
Adrian Suciu 19:fb92949e59c9 306 {0x20, 0x40, 0x44, 0x3D, 0x00}, /* j 106 */
Adrian Suciu 19:fb92949e59c9 307 {0x7F, 0x10, 0x28, 0x44, 0x00}, /* k 107 */
Adrian Suciu 19:fb92949e59c9 308 {0x00, 0x41, 0x7F, 0x40, 0x00}, /* l 108 */
Adrian Suciu 19:fb92949e59c9 309 {0x78, 0x04, 0x18, 0x04, 0x78}, /* m 109 */
Adrian Suciu 19:fb92949e59c9 310 {0x7C, 0x08, 0x04, 0x04, 0x78}, /* n 110 */
Adrian Suciu 19:fb92949e59c9 311 {0x38, 0x44, 0x44, 0x44, 0x38}, /* o 111 */
Adrian Suciu 19:fb92949e59c9 312 {0x7C, 0x14, 0x14, 0x14, 0x08}, /* p 112 */
Adrian Suciu 19:fb92949e59c9 313 {0x08, 0x14, 0x14, 0x18, 0x7C}, /* q 113 */
Adrian Suciu 19:fb92949e59c9 314 {0x7C, 0x08, 0x04, 0x04, 0x08}, /* r 114 */
Adrian Suciu 19:fb92949e59c9 315 {0x48, 0x54, 0x54, 0x54, 0x20}, /* s 115 */
Adrian Suciu 19:fb92949e59c9 316 {0x04, 0x3F, 0x44, 0x40, 0x20}, /* t 116 */
Adrian Suciu 19:fb92949e59c9 317 {0x3C, 0x40, 0x40, 0x20, 0x7C}, /* u 117 */
Adrian Suciu 19:fb92949e59c9 318 {0x1C, 0x20, 0x40, 0x20, 0x1C}, /* v 118 */
Adrian Suciu 19:fb92949e59c9 319 {0x3C, 0x40, 0x30, 0x40, 0x3C}, /* w 119 */
Adrian Suciu 19:fb92949e59c9 320 {0x44, 0x28, 0x10, 0x28, 0x44}, /* x 120 */
Adrian Suciu 19:fb92949e59c9 321 {0x0C, 0x50, 0x50, 0x50, 0x3C}, /* y 121 */
Adrian Suciu 19:fb92949e59c9 322 {0x44, 0x64, 0x54, 0x4C, 0x44}, /* z 122 */
Adrian Suciu 19:fb92949e59c9 323 {0x00, 0x08, 0x36, 0x41, 0x00}, /* { 123 */
Adrian Suciu 19:fb92949e59c9 324 {0x00, 0x00, 0x7F, 0x00, 0x00}, /* | 124 */
Adrian Suciu 19:fb92949e59c9 325 {0x00, 0x41, 0x36, 0x08, 0x00}, /* } 125 */
Adrian Suciu 19:fb92949e59c9 326 {0x0C, 0x02, 0x0C, 0x10, 0x0C}, /* ~ 126 */
Adrian Suciu 19:fb92949e59c9 327 {0x00, 0x00, 0x00, 0x00, 0x00} /* 127 */
Adrian Suciu 19:fb92949e59c9 328 };