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:
Mon Nov 07 16:27:12 2016 +0200
Revision:
33:c3ec596a29c2
Parent:
24:dae7123d432a
Added CN0391, CN0396 and CN0397 shields

Who changed what in which revision?

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