Demo for MAXREFDES99

Dependencies:   MAX7219 mbed

Committer:
pradipv
Date:
Wed Apr 27 10:27:34 2016 +0000
Revision:
6:00aabe967e51
Parent:
3:41bdbc9b3cec
Child:
8:a6a0c9e280ae
version 0.2 - Updated with manual 16x16 font data

Who changed what in which revision?

UserRevisionLine numberNew contents of line
j3 0:6b0161c3e440 1 /******************************************************************//**
j3 0:6b0161c3e440 2 * @file maxrefdes99.cpp
j3 0:6b0161c3e440 3 *
j3 0:6b0161c3e440 4 * @author Justin Jordan
j3 0:6b0161c3e440 5 *
pradipv 6:00aabe967e51 6 * @version 0.2
j3 0:6b0161c3e440 7 *
j3 0:6b0161c3e440 8 * Started: 08JAN16
j3 0:6b0161c3e440 9 *
pradipv 6:00aabe967e51 10 * Updated: 26 APR16,Pradip Vatharkar
j3 0:6b0161c3e440 11 *
pradipv 6:00aabe967e51 12 * @brief Source file for maxrefdes99 demo with 5x7, 16x16 aerial bold
pradipv 6:00aabe967e51 13 * and 16x16 manual fonts
j3 0:6b0161c3e440 14 ***********************************************************************
j3 0:6b0161c3e440 15 * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
j3 0:6b0161c3e440 16 *
j3 0:6b0161c3e440 17 * Permission is hereby granted, free of charge, to any person obtaining a
j3 0:6b0161c3e440 18 * copy of this software and associated documentation files (the "Software"),
j3 0:6b0161c3e440 19 * to deal in the Software without restriction, including without limitation
j3 0:6b0161c3e440 20 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
j3 0:6b0161c3e440 21 * and/or sell copies of the Software, and to permit persons to whom the
j3 0:6b0161c3e440 22 * Software is furnished to do so, subject to the following conditions:
j3 0:6b0161c3e440 23 *
j3 0:6b0161c3e440 24 * The above copyright notice and this permission notice shall be included
j3 0:6b0161c3e440 25 * in all copies or substantial portions of the Software.
j3 0:6b0161c3e440 26 *
j3 0:6b0161c3e440 27 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
j3 0:6b0161c3e440 28 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
j3 0:6b0161c3e440 29 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
j3 0:6b0161c3e440 30 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
j3 0:6b0161c3e440 31 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
j3 0:6b0161c3e440 32 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
j3 0:6b0161c3e440 33 * OTHER DEALINGS IN THE SOFTWARE.
j3 0:6b0161c3e440 34 *
j3 0:6b0161c3e440 35 * Except as contained in this notice, the name of Maxim Integrated
j3 0:6b0161c3e440 36 * Products, Inc. shall not be used except as stated in the Maxim Integrated
j3 0:6b0161c3e440 37 * Products, Inc. Branding Policy.
j3 0:6b0161c3e440 38 *
j3 0:6b0161c3e440 39 * The mere transfer of this software does not imply any licenses
j3 0:6b0161c3e440 40 * of trade secrets, proprietary technology, copyrights, patents,
j3 0:6b0161c3e440 41 * trademarks, maskwork rights, or any other form of intellectual
j3 0:6b0161c3e440 42 * property whatsoever. Maxim Integrated Products, Inc. retains all
j3 0:6b0161c3e440 43 * ownership rights.
j3 0:6b0161c3e440 44 **********************************************************************/
j3 0:6b0161c3e440 45
j3 0:6b0161c3e440 46
j3 0:6b0161c3e440 47 #include "maxrefdes99.h"
j3 0:6b0161c3e440 48
j3 0:6b0161c3e440 49
j3 0:6b0161c3e440 50 //5x7 character bit map
j3 0:6b0161c3e440 51 static const uint8_t font_5x7[95][6] = {
j3 0:6b0161c3e440 52 {0x00,0x00,0x00,0x00,0x00,0x00}, // SPACE
j3 0:6b0161c3e440 53 {0x00,0x00,0x00,0x4F,0x00,0x00}, // !
j3 0:6b0161c3e440 54 {0x00,0x00,0x07,0x00,0x07,0x00}, // "
j3 0:6b0161c3e440 55 {0x00,0x14,0x7F,0x14,0x7F,0x14}, // #
j3 0:6b0161c3e440 56 {0x00,0x24,0x2A,0x7F,0x2A,0x12}, // $
j3 0:6b0161c3e440 57 {0x00,0x23,0x13,0x08,0x64,0x62}, // %
j3 0:6b0161c3e440 58 {0x00,0x36,0x49,0x55,0x22,0x50}, // &
j3 0:6b0161c3e440 59 {0x00,0x00,0x05,0x03,0x00,0x00}, // '
j3 0:6b0161c3e440 60 {0x00,0x00,0x1C,0x22,0x41,0x00}, // (
j3 0:6b0161c3e440 61 {0x00,0x00,0x41,0x22,0x1C,0x00}, // )
j3 0:6b0161c3e440 62 {0x00,0x14,0x08,0x3E,0x08,0x14}, // *
j3 0:6b0161c3e440 63 {0x00,0x08,0x08,0x3E,0x08,0x08}, // +
j3 0:6b0161c3e440 64 {0x00,0x00,0x50,0x30,0x00,0x00}, // ,
j3 0:6b0161c3e440 65 {0x00,0x08,0x08,0x08,0x08,0x08}, // -
j3 0:6b0161c3e440 66 {0x00,0x00,0x60,0x60,0x00,0x00}, // .
j3 0:6b0161c3e440 67 {0x00,0x20,0x10,0x08,0x04,0x02}, // /
j3 0:6b0161c3e440 68 {0x00,0x3E,0x51,0x49,0x45,0x3E}, // 0
j3 0:6b0161c3e440 69 {0x00,0x00,0x42,0x7F,0x40,0x00}, // 1
j3 0:6b0161c3e440 70 {0x00,0x42,0x61,0x51,0x49,0x46}, // 2
j3 0:6b0161c3e440 71 {0x00,0x21,0x41,0x45,0x4B,0x31}, // 3
j3 0:6b0161c3e440 72 {0x00,0x18,0x14,0x12,0x7F,0x10}, // 4
j3 0:6b0161c3e440 73 {0x00,0x27,0x45,0x45,0x45,0x39}, // 5
j3 0:6b0161c3e440 74 {0x00,0x3C,0x4A,0x49,0x49,0x30}, // 6
j3 0:6b0161c3e440 75 {0x00,0x01,0x71,0x09,0x05,0x03}, // 7
j3 0:6b0161c3e440 76 {0x00,0x36,0x49,0x49,0x49,0x36}, // 8
j3 0:6b0161c3e440 77 {0x00,0x06,0x49,0x49,0x29,0x1E}, // 9
j3 0:6b0161c3e440 78 {0x00,0x36,0x36,0x00,0x00,0x00}, // :
j3 0:6b0161c3e440 79 {0x00,0x56,0x36,0x00,0x00,0x00}, // ;
j3 0:6b0161c3e440 80 {0x00,0x08,0x14,0x22,0x41,0x00}, // <
j3 0:6b0161c3e440 81 {0x00,0x14,0x14,0x14,0x14,0x14}, // =
j3 0:6b0161c3e440 82 {0x00,0x00,0x41,0x22,0x14,0x08}, // >
j3 0:6b0161c3e440 83 {0x00,0x02,0x01,0x51,0x09,0x06}, // ?
j3 0:6b0161c3e440 84 {0x00,0x30,0x49,0x79,0x41,0x3E}, // @
j3 0:6b0161c3e440 85 {0x00,0x7E,0x11,0x11,0x11,0x7E}, // A
j3 0:6b0161c3e440 86 {0x00,0x7F,0x49,0x49,0x49,0x36}, // B
j3 0:6b0161c3e440 87 {0x00,0x3E,0x41,0x41,0x41,0x22}, // C
j3 0:6b0161c3e440 88 {0x00,0x7F,0x41,0x41,0x22,0x1C}, // D
j3 0:6b0161c3e440 89 {0x00,0x7F,0x49,0x49,0x49,0x41}, // E
j3 0:6b0161c3e440 90 {0x00,0x7F,0x09,0x09,0x09,0x01}, // F
j3 0:6b0161c3e440 91 {0x00,0x3E,0x41,0x49,0x49,0x7A}, // G
j3 0:6b0161c3e440 92 {0x00,0x7F,0x08,0x08,0x08,0x7F}, // H
j3 0:6b0161c3e440 93 {0x00,0x00,0x41,0x7F,0x41,0x00}, // I
j3 0:6b0161c3e440 94 {0x00,0x20,0x40,0x41,0x3F,0x01}, // J
j3 0:6b0161c3e440 95 {0x00,0x7F,0x08,0x14,0x22,0x41}, // K
j3 0:6b0161c3e440 96 {0x00,0x7F,0x40,0x40,0x40,0x40}, // L
j3 0:6b0161c3e440 97 {0x00,0x7F,0x02,0x0C,0x02,0x7F}, // M
j3 0:6b0161c3e440 98 {0x00,0x7F,0x04,0x08,0x10,0x7F}, // N
j3 0:6b0161c3e440 99 {0x00,0x3E,0x41,0x41,0x41,0x3E}, // O
j3 0:6b0161c3e440 100 {0x00,0x7F,0x09,0x09,0x09,0x06}, // P
j3 0:6b0161c3e440 101 {0x00,0x3E,0x41,0x51,0x21,0x5E}, // Q
j3 0:6b0161c3e440 102 {0x00,0x7F,0x09,0x19,0x29,0x46}, // R
j3 0:6b0161c3e440 103 {0x00,0x46,0x49,0x49,0x49,0x31}, // S
j3 0:6b0161c3e440 104 {0x00,0x01,0x01,0x7F,0x01,0x01}, // T
j3 0:6b0161c3e440 105 {0x00,0x3F,0x40,0x40,0x40,0x3F}, // U
j3 0:6b0161c3e440 106 {0x00,0x1F,0x20,0x40,0x20,0x1F}, // V
j3 0:6b0161c3e440 107 {0x00,0x3F,0x40,0x30,0x40,0x3F}, // W
j3 0:6b0161c3e440 108 {0x00,0x63,0x14,0x08,0x14,0x63}, // X
j3 0:6b0161c3e440 109 {0x00,0x07,0x08,0x70,0x08,0x07}, // Y
j3 0:6b0161c3e440 110 {0x00,0x61,0x51,0x49,0x45,0x43}, // Z
j3 0:6b0161c3e440 111 {0x00,0x00,0x7F,0x41,0x41,0x00}, // [
j3 0:6b0161c3e440 112 {0x00,0x02,0x04,0x08,0x10,0x20}, // backslash
j3 0:6b0161c3e440 113 {0x00,0x00,0x41,0x41,0x7F,0x00}, // ]
j3 0:6b0161c3e440 114 {0x00,0x04,0x02,0x01,0x02,0x04}, // ^
j3 0:6b0161c3e440 115 {0x00,0x40,0x40,0x40,0x40,0x40}, // _
j3 0:6b0161c3e440 116 {0x00,0x00,0x01,0x02,0x04,0x00}, // `
j3 0:6b0161c3e440 117 {0x00,0x20,0x54,0x54,0x54,0x78}, // a
j3 0:6b0161c3e440 118 {0x00,0x7F,0x50,0x48,0x48,0x30}, // b
j3 0:6b0161c3e440 119 {0x00,0x38,0x44,0x44,0x44,0x20}, // c
j3 0:6b0161c3e440 120 {0x00,0x38,0x44,0x44,0x48,0x7F}, // d
j3 0:6b0161c3e440 121 {0x00,0x38,0x54,0x54,0x54,0x18}, // e
j3 0:6b0161c3e440 122 {0x00,0x08,0x7E,0x09,0x01,0x02}, // f
j3 0:6b0161c3e440 123 {0x00,0x0C,0x52,0x52,0x52,0x3E}, // g
j3 0:6b0161c3e440 124 {0x00,0x7F,0x08,0x04,0x04,0x78}, // h
j3 0:6b0161c3e440 125 {0x00,0x00,0x44,0x7D,0x40,0x00}, // i
j3 0:6b0161c3e440 126 {0x00,0x20,0x40,0x44,0x3D,0x00}, // j
j3 0:6b0161c3e440 127 {0x00,0x7F,0x10,0x28,0x44,0x00}, // k
j3 0:6b0161c3e440 128 {0x00,0x00,0x41,0x7F,0x40,0x00}, // l
j3 0:6b0161c3e440 129 {0x00,0x78,0x04,0x58,0x44,0x78}, // m
j3 0:6b0161c3e440 130 {0x00,0x7C,0x08,0x04,0x04,0x78}, // n
j3 0:6b0161c3e440 131 {0x00,0x38,0x44,0x44,0x44,0x38}, // o
j3 0:6b0161c3e440 132 {0x00,0x7C,0x14,0x14,0x14,0x08}, // p
j3 0:6b0161c3e440 133 {0x00,0x08,0x14,0x14,0x18,0x7C}, // q
j3 0:6b0161c3e440 134 {0x00,0x7C,0x08,0x04,0x04,0x08}, // r
j3 0:6b0161c3e440 135 {0x00,0x48,0x54,0x54,0x54,0x20}, // s
j3 0:6b0161c3e440 136 {0x00,0x04,0x3F,0x44,0x40,0x20}, // t
j3 0:6b0161c3e440 137 {0x00,0x3C,0x40,0x40,0x20,0x7C}, // u
j3 0:6b0161c3e440 138 {0x00,0x1C,0x20,0x40,0x20,0x1C}, // v
j3 0:6b0161c3e440 139 {0x00,0x3C,0x40,0x30,0x40,0x3C}, // w
j3 0:6b0161c3e440 140 {0x00,0x44,0x28,0x10,0x28,0x44}, // x
j3 0:6b0161c3e440 141 {0x00,0x0C,0x50,0x50,0x50,0x3C}, // y
j3 0:6b0161c3e440 142 {0x00,0x44,0x64,0x54,0x4C,0x44}, // z
j3 0:6b0161c3e440 143 {0x00,0x00,0x08,0x36,0x41,0x00}, // {
j3 0:6b0161c3e440 144 {0x00,0x00,0x00,0x7F,0x00,0x00}, // |
j3 0:6b0161c3e440 145 {0x00,0x00,0x41,0x36,0x08,0x00}, // }
j3 0:6b0161c3e440 146 {0x00,0x0C,0x02,0x0C,0x10,0x0C} // ~
j3 0:6b0161c3e440 147 };
j3 0:6b0161c3e440 148
pradipv 3:41bdbc9b3cec 149 // 16*16 character bit map for Aerial bold fonts
j3 0:6b0161c3e440 150
pradipv 3:41bdbc9b3cec 151 static const uint8_t Aerial_bold_font_16x16[95][32] = {
pradipv 3:41bdbc9b3cec 152
pradipv 6:00aabe967e51 153 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 154 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 155 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 156 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // SPACE
pradipv 6:00aabe967e51 157
pradipv 6:00aabe967e51 158 {0x0,0x0,0x0,0x0,0x0,0x0,0x3F,0x3F,
pradipv 6:00aabe967e51 159 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 160 0x0,0x0,0x0,0x0,0x0,0x0,0xEC,0xEC,
pradipv 6:00aabe967e51 161 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // !
pradipv 3:41bdbc9b3cec 162
pradipv 6:00aabe967e51 163 {0x0,0x0,0x0,0x0,0x0,0x3C,0x3C,0x0,
pradipv 6:00aabe967e51 164 0x0,0x3C,0x3C,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 165 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 166 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //"
pradipv 6:00aabe967e51 167
pradipv 6:00aabe967e51 168 {0x0,0x0,0x6,0x6,0x6,0xF,0x3F,0x36,
pradipv 6:00aabe967e51 169 0xF,0x3F,0x36,0x6,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 170 0x0,0x0,0x60,0x6C,0xFC,0xF0,0x6C,0xFC,
pradipv 6:00aabe967e51 171 0xF0,0x60,0x60,0x60,0x0,0x0,0x0,0x0},// #
pradipv 6:00aabe967e51 172
pradipv 6:00aabe967e51 173 {0x0,0x0,0x0,0x0,0xE,0x1F,0x33,0x7F,
pradipv 6:00aabe967e51 174 0x31,0x18,0x8,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 175 0x0,0x0,0x0,0x0,0x30,0x38,0x8C,0xFE,
pradipv 6:00aabe967e51 176 0xCC,0xF8,0x70,0x0,0x0,0x0,0x0,0x0}, //$
pradipv 3:41bdbc9b3cec 177
pradipv 6:00aabe967e51 178 {0x0,0x1E,0x3F,0x21,0x21,0x3F,0x1E,0x0,
pradipv 6:00aabe967e51 179 0x3,0x7,0x1C,0x38,0x20,0x0,0x0,0x0,
pradipv 6:00aabe967e51 180 0x0,0x0,0x0,0x0,0x4,0xC,0x38,0xF0,
pradipv 6:00aabe967e51 181 0xC0,0x0,0x78,0xFC,0x84,0x84,0xFC,0x78},//%
pradipv 6:00aabe967e51 182
pradipv 6:00aabe967e51 183 {0x0,0x0,0x0,0x0,0x1C,0x3F,0x33,0x33,
pradipv 6:00aabe967e51 184 0x33,0x3E,0x1C,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 185 0x0,0x0,0x0,0x70,0xF8,0x8C,0xC,0xCC,
pradipv 6:00aabe967e51 186 0xEC,0x78,0x38,0xF8,0x5C,0x8,0x0,0x0},//&
pradipv 6:00aabe967e51 187
pradipv 6:00aabe967e51 188 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3C,
pradipv 6:00aabe967e51 189 0x3C,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 190 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 191 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0},//'
pradipv 3:41bdbc9b3cec 192
pradipv 6:00aabe967e51 193 {0x0,0x0,0x0,0x0,0x0,0xF,0x3F,0x70,
pradipv 6:00aabe967e51 194 0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 195 0x0,0x0,0x0,0x0,0x0,0xE0,0xF8,0x1C,
pradipv 6:00aabe967e51 196 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0},//(
pradipv 3:41bdbc9b3cec 197
pradipv 6:00aabe967e51 198 {0x0,0x0,0x0,0x0,0x0,0x40,0x70,0x3F,
pradipv 6:00aabe967e51 199 0xF,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 200 0x0,0x0,0x0,0x0,0x0,0x4,0x1C,0xF8,
pradipv 6:00aabe967e51 201 0xE0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //}
pradipv 6:00aabe967e51 202
pradipv 6:00aabe967e51 203 {0x0,0x0,0x3,0x3,0x1,0x1,0xF,0xF,
pradipv 6:00aabe967e51 204 0xF,0x1,0x1,0x3,0x3,0x0,0x0,0x0,
pradipv 6:00aabe967e51 205 0x0,0x0,0x0,0x10,0x30,0xF8,0xE0,0xC0,
pradipv 6:00aabe967e51 206 0xE0,0xF8,0x30,0x10,0x0,0x0,0x0,0x0},//*
pradipv 3:41bdbc9b3cec 207
pradipv 6:00aabe967e51 208 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 209 0x7,0x7,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 210 0x0,0x0,0x0,0x0,0x0,0xC0,0xC0,0xC0,
pradipv 6:00aabe967e51 211 0xF8,0xF8,0xC0,0xC0,0xC0,0x0,0x0,0x0},//+
pradipv 6:00aabe967e51 212
pradipv 6:00aabe967e51 213 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 214 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 215 0x0,0x0,0x0,0x0,0x0,0x0,0x32,0x3C,
pradipv 6:00aabe967e51 216 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //,
pradipv 3:41bdbc9b3cec 217
pradipv 6:00aabe967e51 218 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 219 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 220 0x0,0x0,0x0,0x0,0x0,0x0,0xC0,0xC0,
pradipv 6:00aabe967e51 221 0xC0,0xC0,0xC0,0x0,0x0,0x0,0x0,0x0},// -
pradipv 6:00aabe967e51 222
pradipv 6:00aabe967e51 223 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 224 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 225 0x0,0x0,0x0,0x0,0x0,0x0,0x18,0x18,
pradipv 6:00aabe967e51 226 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // .
pradipv 3:41bdbc9b3cec 227
pradipv 6:00aabe967e51 228 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 229 0xF,0x3F,0x30,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 230 0x0,0x0,0x0,0x0,0x0,0x0,0xC,0xFC,
pradipv 6:00aabe967e51 231 0xF0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // /
pradipv 6:00aabe967e51 232
pradipv 6:00aabe967e51 233 {0x0,0x0,0x0,0x0,0xF,0x1F,0x38,0x30,
pradipv 6:00aabe967e51 234 0x30,0x38,0x1F,0xF,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 235 0x0,0x0,0x0,0x0,0xF0,0xF8,0x1C,0xC,
pradipv 6:00aabe967e51 236 0xC,0x1C,0xF8,0xF0,0x0,0x0,0x0,0x0}, // 0
pradipv 3:41bdbc9b3cec 237
pradipv 6:00aabe967e51 238 {0x0,0x0,0x0,0x0,0x6,0xC,0x18,0x3F,
pradipv 6:00aabe967e51 239 0x3F,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 240 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFC,
pradipv 6:00aabe967e51 241 0xFC,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // 1
pradipv 6:00aabe967e51 242
pradipv 6:00aabe967e51 243 {0x0,0x0,0x0,0x0,0xC,0x1C,0x38,0x30,
pradipv 6:00aabe967e51 244 0x30,0x31,0x1F,0xE,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 245 0x0,0x0,0x0,0x0,0xC,0x1C,0x3C,0x6C,
pradipv 6:00aabe967e51 246 0xEC,0xCC,0x8C,0xC,0x0,0x0,0x0,0x0},// 2
pradipv 6:00aabe967e51 247
pradipv 6:00aabe967e51 248 {0x0,0x0,0x0,0x0,0x8,0x18,0x38,0x33,
pradipv 6:00aabe967e51 249 0x33,0x33,0x3F,0x1C,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 250 0x0,0x0,0x0,0x0,0x30,0x38,0x1C,0xC,
pradipv 6:00aabe967e51 251 0xC,0x9C,0xF8,0xF0,0x0,0x0,0x0,0x0}, // 3
pradipv 3:41bdbc9b3cec 252
pradipv 6:00aabe967e51 253 {0x0,0x0,0x0,0x0,0x0,0x0,0x3,0x7,
pradipv 6:00aabe967e51 254 0x1C,0x3F,0x3F,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 255 0x0,0x0,0x0,0x0,0x70,0xF0,0xB0,0x30,
pradipv 6:00aabe967e51 256 0x30,0xFC,0xFC,0x30,0x0,0x0,0x0,0x0},//4
pradipv 3:41bdbc9b3cec 257
pradipv 6:00aabe967e51 258 {0x0,0x0,0x0,0x0,0x7,0x3F,0x3B,0x33,
pradipv 6:00aabe967e51 259 0x33,0x33,0x31,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 260 0x0,0x0,0x0,0x0,0xB0,0xB8,0x1C,0xC,
pradipv 6:00aabe967e51 261 0xC,0x9C,0xF8,0xF0,0x0,0x0,0x0,0x0}, //5
pradipv 6:00aabe967e51 262
pradipv 6:00aabe967e51 263 {0x0,0x0,0x0,0x0,0x7,0x1F,0x39,0x33,
pradipv 6:00aabe967e51 264 0x33,0x33,0x39,0x18,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 265 0x0,0x0,0x0,0x0,0xE0,0xF8,0x9C,0xC,
pradipv 6:00aabe967e51 266 0xC,0x8C,0xF8,0xF0,0x0,0x0,0x0,0x0}, //6
pradipv 3:41bdbc9b3cec 267
pradipv 6:00aabe967e51 268 {0x0,0x0,0x0,0x0,0x30,0x30,0x30,0x31,
pradipv 6:00aabe967e51 269 0x37,0x3E,0x38,0x30,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 270 0x0,0x0,0x0,0x0,0x0,0x0,0x3C,0xFC,
pradipv 6:00aabe967e51 271 0xE0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // 7
pradipv 6:00aabe967e51 272
pradipv 6:00aabe967e51 273 {0x0,0x0,0x0,0x0,0xE,0x1F,0x31,0x31,
pradipv 6:00aabe967e51 274 0x31,0x31,0x1F,0xE,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 275 0x0,0x0,0x0,0x0,0x70,0xF8,0x8C,0x8C,
pradipv 6:00aabe967e51 276 0x8C,0x8C,0xF8,0x70,0x0,0x0,0x0,0x0}, //8
pradipv 6:00aabe967e51 277
pradipv 6:00aabe967e51 278 {0x0,0x0,0x0,0x0,0xF,0x1F,0x31,0x30,
pradipv 6:00aabe967e51 279 0x30,0x39,0x1F,0x7,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 280 0x0,0x0,0x0,0x0,0x18,0x9C,0xCC,0xCC,
pradipv 6:00aabe967e51 281 0xCC,0x9C,0xF8,0xE0,0x0,0x0,0x0,0x0}, //9
pradipv 3:41bdbc9b3cec 282
pradipv 6:00aabe967e51 283 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x18,
pradipv 6:00aabe967e51 284 0x18,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 285 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x30,
pradipv 6:00aabe967e51 286 0x30,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // :
pradipv 6:00aabe967e51 287
pradipv 6:00aabe967e51 288 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x18,
pradipv 6:00aabe967e51 289 0x18,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 290 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x32,
pradipv 6:00aabe967e51 291 0x3C,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // ;
pradipv 6:00aabe967e51 292
pradipv 6:00aabe967e51 293 {0x0,0x0,0x0,0x0,0x1,0x1,0x3,0x3,
pradipv 6:00aabe967e51 294 0x6,0x6,0xC,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 295 0x0,0x0,0x0,0x80,0xC0,0xC0,0x60,0x60,
pradipv 6:00aabe967e51 296 0x30,0x30,0x18,0x0,0x0,0x0,0x0,0x0}, // <
pradipv 3:41bdbc9b3cec 297
pradipv 6:00aabe967e51 298 {0x0,0x0,0x0,0xC,0xC,0xC,0xC,0xC,
pradipv 6:00aabe967e51 299 0xC,0xC,0xC,0xC,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 300 0x0,0x0,0x0,0xC0,0xC0,0xC0,0xC0,0xC0,
pradipv 6:00aabe967e51 301 0xC0,0xC0,0xC0,0xC0,0x0,0x0,0x0,0x0}, // =
pradipv 6:00aabe967e51 302
pradipv 6:00aabe967e51 303 {0x0,0x0,0x0,0x0,0xC,0x6,0x6,0x3,
pradipv 6:00aabe967e51 304 0x3,0x1,0x1,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 305 0x0,0x0,0x0,0x0,0x18,0x30,0x30,0x60,
pradipv 6:00aabe967e51 306 0x60,0xC0,0xC0,0x80,0x0,0x0,0x0,0x0}, // >
pradipv 6:00aabe967e51 307
pradipv 6:00aabe967e51 308 {0x0,0x0,0x0,0x0,0xC,0x1C,0x38,0x30,
pradipv 6:00aabe967e51 309 0x31,0x33,0x1F,0xE,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 310 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xEC,
pradipv 6:00aabe967e51 311 0xEC,0x80,0x0,0x0,0x0,0x0,0x0,0x0}, // ?
pradipv 3:41bdbc9b3cec 312
pradipv 6:00aabe967e51 313 {0x0,0x0,0x7,0x18,0x27,0x6F,0x58,0x58,
pradipv 6:00aabe967e51 314 0x4F,0x5F,0x38,0x30,0x1F,0x0,0x0,0x0,
pradipv 6:00aabe967e51 315 0x0,0x0,0xC0,0x20,0x90,0xC8,0xC8,0x88,
pradipv 6:00aabe967e51 316 0xC8,0xC8,0x48,0x90,0x20,0x0,0x0,0x0}, //@
pradipv 3:41bdbc9b3cec 317
pradipv 6:00aabe967e51 318 {0x0,0x0,0x0,0x0,0x1,0xF,0x3E,0x30,
pradipv 6:00aabe967e51 319 0x3E,0xF,0x1,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 320 0x0,0x0,0x4,0x3C,0xF8,0xE0,0x60,0x60,
pradipv 6:00aabe967e51 321 0x60,0xE0,0xF8,0x3C,0x4,0x0,0x0,0x0}, // A
pradipv 6:00aabe967e51 322
pradipv 6:00aabe967e51 323 {0x0,0x0,0x0,0x3F,0x3F,0x31,0x31,0x31,
pradipv 6:00aabe967e51 324 0x31,0x31,0x3F,0x1E,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 325 0x0,0x0,0x0,0xFC,0xFC,0x8C,0x8C,0x8C,
pradipv 6:00aabe967e51 326 0x8C,0x8C,0x8C,0xF8,0x70,0x0,0x0,0x0}, // B
pradipv 3:41bdbc9b3cec 327
pradipv 6:00aabe967e51 328 {0x0,0x0,0x0,0x7,0x1F,0x1C,0x30,0x30,
pradipv 6:00aabe967e51 329 0x30,0x30,0x38,0x1C,0x8,0x0,0x0,0x0,
pradipv 6:00aabe967e51 330 0x0,0x0,0x0,0xE0,0xF8,0x38,0xC,0xC,
pradipv 6:00aabe967e51 331 0xC,0xC,0x1C,0x38,0x10,0x0,0x0,0x0}, // C
pradipv 6:00aabe967e51 332
pradipv 6:00aabe967e51 333 {0x0,0x0,0x0,0x3F,0x3F,0x30,0x30,0x30,
pradipv 6:00aabe967e51 334 0x30,0x30,0x18,0x1F,0x7,0x0,0x0,0x0,
pradipv 6:00aabe967e51 335 0x0,0x0,0x0,0xFC,0xFC,0xC,0xC,0xC,
pradipv 6:00aabe967e51 336 0xC,0xC,0x18,0xF8,0xE0,0x0,0x0,0x0}, // D
pradipv 6:00aabe967e51 337
pradipv 6:00aabe967e51 338 {0x0,0x0,0x0,0x0,0x3F,0x3F,0x31,0x31,
pradipv 6:00aabe967e51 339 0x31,0x31,0x31,0x31,0x31,0x0,0x0,0x0,
pradipv 6:00aabe967e51 340 0x0,0x0,0x0,0x0,0xFC,0xFC,0x8C,0x8C,
pradipv 6:00aabe967e51 341 0x8C,0x8C,0x8C,0x8C,0x8C,0x0,0x0,0x0}, // E
pradipv 3:41bdbc9b3cec 342
pradipv 6:00aabe967e51 343 {0x0,0x0,0x0,0x0,0x3F,0x3F,0x31,0x31,
pradipv 6:00aabe967e51 344 0x31,0x31,0x31,0x30,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 345 0x0,0x0,0x0,0x0,0xFC,0xFC,0x80,0x80,
pradipv 6:00aabe967e51 346 0x80,0x80,0x80,0x0,0x0,0x0,0x0,0x0}, // F
pradipv 3:41bdbc9b3cec 347
pradipv 6:00aabe967e51 348 {0x0,0x0,0x7,0x1F,0x1C,0x30,0x30,0x30,
pradipv 6:00aabe967e51 349 0x30,0x30,0x38,0x1C,0x8,0x0,0x0,0x0,
pradipv 6:00aabe967e51 350 0x0,0x0,0xE0,0xF8,0x38,0xC,0xC,0xC,
pradipv 6:00aabe967e51 351 0xCC,0xCC,0xDC,0xF8,0xF8,0x0,0x0,0x0}, //G
pradipv 6:00aabe967e51 352
pradipv 6:00aabe967e51 353 {0x0,0x0,0x0,0x3F,0x3F,0x1,0x1,0x1,
pradipv 6:00aabe967e51 354 0x1,0x1,0x1,0x3F,0x3F,0x0,0x0,0x0,
pradipv 6:00aabe967e51 355 0x0,0x0,0x0,0xFC,0xFC,0x80,0x80,0x80,
pradipv 6:00aabe967e51 356 0x80,0x80,0x80,0xFC,0xFC,0x0,0x0,0x0}, //H
pradipv 3:41bdbc9b3cec 357
pradipv 6:00aabe967e51 358 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3F,
pradipv 6:00aabe967e51 359 0x3F,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 360 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFC,
pradipv 6:00aabe967e51 361 0xFC,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // I
pradipv 6:00aabe967e51 362
pradipv 6:00aabe967e51 363 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 364 0x0,0x0,0x3F,0x3F,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 365 0x0,0x0,0x0,0x0,0x30,0x38,0x1C,0xC,
pradipv 6:00aabe967e51 366 0xC,0x1C,0xF8,0xF0,0x0,0x0,0x0,0x0}, // J
pradipv 3:41bdbc9b3cec 367
pradipv 6:00aabe967e51 368 {0x0,0x0,0x0,0x3F,0x3F,0x0,0x1,0x3,
pradipv 6:00aabe967e51 369 0x7,0xD,0x18,0x30,0x20,0x0,0x0,0x0,
pradipv 6:00aabe967e51 370 0x0,0x0,0x0,0xFC,0xFC,0xC0,0x80,0x0,
pradipv 6:00aabe967e51 371 0x80,0xE0,0x70,0x3C,0xC,0x0,0x0,0x0}, //K
pradipv 6:00aabe967e51 372
pradipv 6:00aabe967e51 373 {0x0,0x0,0x0,0x0,0x3F,0x3F,0x0,0x0,
pradipv 6:00aabe967e51 374 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 375 0x0,0x0,0x0,0x0,0xFC,0xFC,0xC,0xC,
pradipv 6:00aabe967e51 376 0xC,0xC,0xC,0xC,0x0,0x0,0x0,0x0}, // L
pradipv 3:41bdbc9b3cec 377
pradipv 6:00aabe967e51 378 {0x0,0x0,0x3F,0x3F,0x3C,0xF,0x1,0x0,
pradipv 6:00aabe967e51 379 0x1,0xF,0x3C,0x3F,0x3F,0x0,0x0,0x0,
pradipv 6:00aabe967e51 380 0x0,0x0,0xFC,0xFC,0x0,0xC0,0xF8,0x3C,
pradipv 6:00aabe967e51 381 0xF8,0xC0,0x0,0xFC,0xFC,0x0,0x0,0x0}, // M
pradipv 6:00aabe967e51 382
pradipv 6:00aabe967e51 383 {0x0,0x0,0x0,0x3F,0x3F,0x1C,0xE,0x3,
pradipv 6:00aabe967e51 384 0x1,0x0,0x0,0x3F,0x3F,0x0,0x0,0x0,
pradipv 6:00aabe967e51 385 0x0,0x0,0x0,0xFC,0xFC,0x0,0x0,0x80,
pradipv 6:00aabe967e51 386 0xC0,0x70,0x38,0xFC,0xFC,0x0,0x0,0x0}, // N
pradipv 3:41bdbc9b3cec 387
pradipv 6:00aabe967e51 388 {0x0,0x0,0x7,0x1F,0x18,0x30,0x30,0x30,
pradipv 6:00aabe967e51 389 0x30,0x30,0x18,0x1F,0x7,0x0,0x0,0x0,
pradipv 6:00aabe967e51 390 0x0,0x0,0xE0,0xF8,0x18,0xC,0xC,0xC,
pradipv 6:00aabe967e51 391 0xC,0xC,0x18,0xF8,0xE0,0x0,0x0,0x0}, // O
pradipv 6:00aabe967e51 392
pradipv 6:00aabe967e51 393 {0x0,0x0,0x0,0x0,0x3F,0x3F,0x31,0x31,
pradipv 6:00aabe967e51 394 0x31,0x31,0x3B,0x1F,0xE,0x0,0x0,0x0,
pradipv 6:00aabe967e51 395 0x0,0x0,0x0,0x0,0xFC,0xFC,0x80,0x80,
pradipv 6:00aabe967e51 396 0x80,0x80,0x80,0x0,0x0,0x0,0x0,0x0}, // P
pradipv 6:00aabe967e51 397
pradipv 6:00aabe967e51 398 {0x0,0x0,0x7,0x1F,0x18,0x30,0x30,0x30,
pradipv 6:00aabe967e51 399 0x30,0x30,0x18,0x1F,0x7,0x0,0x0,0x0,
pradipv 6:00aabe967e51 400 0x0,0x0,0xE0,0xF8,0x18,0xC,0xC,0x2C,
pradipv 6:00aabe967e51 401 0x3C,0x18,0x3C,0xFE,0xE2,0x0,0x0,0x0},// Q
pradipv 3:41bdbc9b3cec 402
pradipv 6:00aabe967e51 403 {0x0,0x0,0x0,0x3F,0x3F,0x31,0x31,0x31,
pradipv 6:00aabe967e51 404 0x31,0x31,0x3B,0x1F,0xE,0x0,0x0,0x0,
pradipv 6:00aabe967e51 405 0x0,0x0,0x0,0xFC,0xFC,0x80,0x80,0x80,
pradipv 6:00aabe967e51 406 0xC0,0xE0,0x78,0x3C,0xC,0x4,0x0,0x0}, // R
pradipv 3:41bdbc9b3cec 407
pradipv 6:00aabe967e51 408 {0x0,0x0,0x0,0x0,0xE,0x1F,0x3B,0x33,
pradipv 6:00aabe967e51 409 0x31,0x31,0x39,0x1C,0xC,0x0,0x0,0x0,
pradipv 6:00aabe967e51 410 0x0,0x0,0x0,0x0,0x30,0x38,0x1C,0x8C,
pradipv 6:00aabe967e51 411 0x8C,0x8C,0xDC,0xF8,0x70,0x0,0x0,0x0}, //S
pradipv 6:00aabe967e51 412
pradipv 6:00aabe967e51 413 {0x0,0x0,0x0,0x30,0x30,0x30,0x30,0x3F,
pradipv 6:00aabe967e51 414 0x3F,0x30,0x30,0x30,0x30,0x0,0x0,0x0,
pradipv 6:00aabe967e51 415 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFC,
pradipv 6:00aabe967e51 416 0xFC,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //T
pradipv 3:41bdbc9b3cec 417
pradipv 6:00aabe967e51 418 {0x0,0x0,0x0,0x3F,0x3F,0x0,0x0,0x0,
pradipv 6:00aabe967e51 419 0x0,0x0,0x0,0x3F,0x3F,0x0,0x0,0x0,
pradipv 6:00aabe967e51 420 0x0,0x0,0x0,0xF0,0xF8,0x1C,0xC,0xC,
pradipv 6:00aabe967e51 421 0xC,0xC,0x1C,0xF8,0xF0,0x0,0x0,0x0}, //U
pradipv 6:00aabe967e51 422
pradipv 6:00aabe967e51 423 {0x0,0x0,0x20,0x3C,0x1F,0x3,0x0,0x0,
pradipv 6:00aabe967e51 424 0x0,0x3,0x1F,0x3C,0x20,0x0,0x0,0x0,
pradipv 6:00aabe967e51 425 0x0,0x0,0x0,0x0,0x80,0xE0,0xFC,0x1C,
pradipv 6:00aabe967e51 426 0xFC,0xE0,0x80,0x0,0x0,0x0,0x0,0x0},//V
pradipv 6:00aabe967e51 427
pradipv 6:00aabe967e51 428 {0x0,0x0,0x38,0x3F,0x7,0x0,0x7,0x3F,
pradipv 6:00aabe967e51 429 0x38,0x3F,0x7,0x0,0x7,0x3F,0x38,0x0,
pradipv 6:00aabe967e51 430 0x0,0x0,0x0,0xC0,0xFC,0x3C,0xFC,0xC0,
pradipv 6:00aabe967e51 431 0x0,0xC0,0xFC,0x3C,0xFC,0xC0,0x0,0x0}, // W
pradipv 3:41bdbc9b3cec 432
pradipv 6:00aabe967e51 433 {0x0,0x0,0x0,0x30,0x38,0x1E,0x7,0x3,
pradipv 6:00aabe967e51 434 0x7,0x1E,0x38,0x30,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 435 0x0,0x0,0x0,0xC,0x1C,0x78,0xE0,0xC0,
pradipv 6:00aabe967e51 436 0xE0,0x78,0x1C,0xC,0x0,0x0,0x0,0x0}, // X
pradipv 3:41bdbc9b3cec 437
pradipv 6:00aabe967e51 438 {0x0,0x0,0x0,0x30,0x38,0x1E,0x7,0x1,
pradipv 6:00aabe967e51 439 0x1,0x7,0x1E,0x38,0x30,0x0,0x0,0x0,
pradipv 6:00aabe967e51 440 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFC,
pradipv 6:00aabe967e51 441 0xFC,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // Y
pradipv 6:00aabe967e51 442
pradipv 6:00aabe967e51 443 {0x0,0x0,0x0,0x0,0x0,0x30,0x30,0x30,
pradipv 6:00aabe967e51 444 0x33,0x37,0x3E,0x38,0x30,0x0,0x0,0x0,
pradipv 6:00aabe967e51 445 0x0,0x0,0x0,0x0,0xC,0x1C,0x7C,0xEC,
pradipv 6:00aabe967e51 446 0xCC,0xC,0xC,0xC,0xC,0x0,0x0,0x0}, // Z
pradipv 3:41bdbc9b3cec 447
pradipv 6:00aabe967e51 448 {0x0,0x0,0x0,0x0,0x0,0x0,0x7F,0x7F,
pradipv 6:00aabe967e51 449 0x60,0x60,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 450 0x0,0x0,0x0,0x0,0x0,0x0,0xFE,0xFE,
pradipv 6:00aabe967e51 451 0x6,0x6,0x0,0x0,0x0,0x0,0x0,0x0}, // [
pradipv 6:00aabe967e51 452
pradipv 6:00aabe967e51 453 {0x0,0x0,0x0,0x0,0x0,0x0,0x30,0x3F,
pradipv 6:00aabe967e51 454 0xF,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 455 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 456 0xF0,0xFC,0xC,0x0,0x0,0x0,0x0,0x0}, // backslash
pradipv 6:00aabe967e51 457
pradipv 6:00aabe967e51 458 {0x0,0x0,0x0,0x0,0x0,0x0,0x60,0x60,
pradipv 6:00aabe967e51 459 0x7F,0x7F,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 460 0x0,0x0,0x0,0x0,0x0,0x0,0x6,0x6,
pradipv 6:00aabe967e51 461 0xFE,0xFE,0x0,0x0,0x0,0x0,0x0,0x0}, // ]
pradipv 3:41bdbc9b3cec 462
pradipv 6:00aabe967e51 463 {0x0,0x0,0x0,0x0,0x1,0xF,0x3E,0x70,
pradipv 6:00aabe967e51 464 0x70,0x3E,0xF,0x1,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 465 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 466 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // ^
pradipv 3:41bdbc9b3cec 467
pradipv 6:00aabe967e51 468 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 469 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 470 0x6,0x6,0x6,0x6,0x6,0x6,0x6,0x6,
pradipv 6:00aabe967e51 471 0x6,0x6,0x6,0x6,0x6,0x6,0x6,0x6}, // _
pradipv 6:00aabe967e51 472
pradipv 6:00aabe967e51 473 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x20,
pradipv 6:00aabe967e51 474 0x30,0x10,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 475 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 476 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // `
pradipv 3:41bdbc9b3cec 477
pradipv 6:00aabe967e51 478 {0x0,0x0,0x0,0x0,0x6,0xE,0xC,0xD,
pradipv 6:00aabe967e51 479 0xD,0xF,0x7,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 480 0x0,0x0,0x0,0x0,0x70,0xF8,0xD8,0x98,
pradipv 6:00aabe967e51 481 0x98,0xF0,0xF8,0x8,0x0,0x0,0x0,0x0}, // a
pradipv 6:00aabe967e51 482
pradipv 6:00aabe967e51 483 {0x0,0x0,0x0,0x0,0x7F,0x7F,0x6,0xC,
pradipv 6:00aabe967e51 484 0xC,0xE,0x7,0x3,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 485 0x0,0x0,0x0,0x0,0xF8,0xF8,0x30,0x18,
pradipv 6:00aabe967e51 486 0x18,0x38,0xF0,0xE0,0x0,0x0,0x0,0x0}, // b
pradipv 6:00aabe967e51 487
pradipv 6:00aabe967e51 488 {0x0,0x0,0x0,0x0,0x3,0x7,0xE,0xC,
pradipv 6:00aabe967e51 489 0xC,0xE,0x6,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 490 0x0,0x0,0x0,0x0,0xE0,0xF0,0x38,0x18,
pradipv 6:00aabe967e51 491 0x18,0x38,0x30,0x0,0x0,0x0,0x0,0x0}, //c
pradipv 3:41bdbc9b3cec 492
pradipv 6:00aabe967e51 493 {0x0,0x0,0x0,0x0,0x3,0x7,0xE,0xC,
pradipv 6:00aabe967e51 494 0xC,0x6,0x7F,0x7F,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 495 0x0,0x0,0x0,0x0,0xE0,0xF0,0x38,0x18,
pradipv 6:00aabe967e51 496 0x18,0x30,0xF8,0xF8,0x0,0x0,0x0,0x0}, // d
pradipv 3:41bdbc9b3cec 497
pradipv 6:00aabe967e51 498 {0x0,0x0,0x0,0x0,0x3,0x7,0xD,0xD,
pradipv 6:00aabe967e51 499 0xD,0x7,0x3,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 500 0x0,0x0,0x0,0x0,0xE0,0xF0,0xB8,0x98,
pradipv 6:00aabe967e51 501 0x98,0xB0,0xA0,0x0,0x0,0x0,0x0,0x0}, // e
pradipv 6:00aabe967e51 502
pradipv 6:00aabe967e51 503 {0x0,0x0,0x0,0x0,0xC,0x3F,0x7F,0x6C,
pradipv 6:00aabe967e51 504 0x6C,0x60,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 505 0x0,0x0,0x0,0x0,0x0,0xF8,0xF8,0x0,
pradipv 6:00aabe967e51 506 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // f
pradipv 3:41bdbc9b3cec 507
pradipv 6:00aabe967e51 508 {0x0,0x0,0x0,0x7,0xF,0x1C,0x18,0x18,
pradipv 6:00aabe967e51 509 0xC,0x1F,0x1F,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 510 0x0,0x0,0x0,0xCC,0xEE,0x76,0x36,0x36,
pradipv 6:00aabe967e51 511 0x66,0xFE,0xFC,0x0,0x0,0x0,0x0,0x0}, // g
pradipv 6:00aabe967e51 512
pradipv 6:00aabe967e51 513 {0x0,0x0,0x0,0x0,0x7F,0x7F,0x6,0xC,
pradipv 6:00aabe967e51 514 0xC,0xC,0xF,0x7,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 515 0x0,0x0,0x0,0x0,0xF8,0xF8,0x0,0x0,
pradipv 6:00aabe967e51 516 0x0,0x0,0xF8,0xF8,0x0,0x0,0x0,0x0}, //h
pradipv 6:00aabe967e51 517
pradipv 6:00aabe967e51 518 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x37,
pradipv 6:00aabe967e51 519 0x37,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 520 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xF8,
pradipv 6:00aabe967e51 521 0xF8,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // i
pradipv 3:41bdbc9b3cec 522
pradipv 6:00aabe967e51 523 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x37,
pradipv 6:00aabe967e51 524 0x37,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 525 0x0,0x0,0x0,0x0,0x0,0x3,0x3,0xFF,
pradipv 6:00aabe967e51 526 0xFE,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // j
pradipv 3:41bdbc9b3cec 527
pradipv 6:00aabe967e51 528 {0x0,0x0,0x0,0x0,0x7F,0x7F,0x1,0x3,
pradipv 6:00aabe967e51 529 0x7,0xC,0x8,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 530 0x0,0x0,0x0,0x0,0xF8,0xF8,0xC0,0x80,
pradipv 6:00aabe967e51 531 0xE0,0xF8,0x18,0x0,0x0,0x0,0x0,0x0}, // k
pradipv 6:00aabe967e51 532
pradipv 6:00aabe967e51 533 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x7F,
pradipv 6:00aabe967e51 534 0x7F,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 535 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xF8,
pradipv 6:00aabe967e51 536 0xF8,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // l
pradipv 3:41bdbc9b3cec 537
pradipv 6:00aabe967e51 538 {0x0,0x0,0xF,0xF,0x6,0xC,0xC,0xF,
pradipv 6:00aabe967e51 539 0x7,0x6,0xC,0xC,0xF,0x7,0x0,0x0,
pradipv 6:00aabe967e51 540 0x0,0x0,0xF8,0xF8,0x0,0x0,0x0,0xF8,
pradipv 6:00aabe967e51 541 0xF8,0x0,0x0,0x0,0xF8,0xF8,0x0,0x0},// m
pradipv 6:00aabe967e51 542
pradipv 6:00aabe967e51 543 0x0,0x0,0x0,0x0,0xF,0xF,0x6,0xC,
pradipv 6:00aabe967e51 544 0xC,0xC,0xF,0x7,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 545 0x0,0x0,0x0,0x0,0xF8,0xF8,0x0,0x0,
pradipv 6:00aabe967e51 546 0x0,0x0,0xF8,0xF8,0x0,0x0,0x0,0x0, // n
pradipv 6:00aabe967e51 547
pradipv 6:00aabe967e51 548 {0x0,0x0,0x0,0x0,0x3,0x7,0xE,0xC,
pradipv 6:00aabe967e51 549 0xC,0xE,0x7,0x3,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 550 0x0,0x0,0x0,0x0,0xE0,0xF0,0x38,0x18,
pradipv 6:00aabe967e51 551 0x18,0x38,0xF0,0xE0,0x0,0x0,0x0,0x0}, // o
pradipv 3:41bdbc9b3cec 552
pradipv 6:00aabe967e51 553 {0x0,0x0,0x0,0x0,0xF,0xF,0x6,0xC,
pradipv 6:00aabe967e51 554 0xC,0xE,0x7,0x3,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 555 0x0,0x0,0x0,0x0,0xFF,0xFF,0x30,0x18,
pradipv 6:00aabe967e51 556 0x18,0x38,0xF0,0xE0,0x0,0x0,0x0,0x0}, // p
pradipv 3:41bdbc9b3cec 557
pradipv 6:00aabe967e51 558 {0x0,0x0,0x0,0x0,0x3,0x7,0xE,0xC,
pradipv 6:00aabe967e51 559 0xC,0x6,0xF,0xF,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 560 0x0,0x0,0x0,0x0,0xE0,0xF0,0x38,0x18,
pradipv 6:00aabe967e51 561 0x18,0x30,0xFF,0xFF,0x0,0x0,0x0,0x0}, //q
pradipv 6:00aabe967e51 562
pradipv 6:00aabe967e51 563 {0x0,0x0,0x0,0x0,0x0,0x0,0xF,0xF,
pradipv 6:00aabe967e51 564 0x6,0xC,0xC,0xC,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 565 0x0,0x0,0x0,0x0,0x0,0x0,0xF8,0xF8,
pradipv 6:00aabe967e51 566 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //r
pradipv 3:41bdbc9b3cec 567
pradipv 6:00aabe967e51 568 {0x0,0x0,0x0,0x0,0x7,0xF,0xD,0xD,
pradipv 6:00aabe967e51 569 0xC,0xE,0x6,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 570 0x0,0x0,0x0,0x0,0x30,0xB8,0x98,0x98,
pradipv 6:00aabe967e51 571 0xD8,0xF8,0x70,0x0,0x0,0x0,0x0,0x0}, // s
pradipv 6:00aabe967e51 572
pradipv 6:00aabe967e51 573 {0x0,0x0,0x0,0x0,0x0,0xC,0x3F,0x7F,
pradipv 6:00aabe967e51 574 0xC,0xC,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 575 0x0,0x0,0x0,0x0,0x0,0x0,0xF0,0xF8,
pradipv 6:00aabe967e51 576 0x18,0x18,0x0,0x0,0x0,0x0,0x0,0x0}, // t
pradipv 6:00aabe967e51 577
pradipv 6:00aabe967e51 578 {0x0,0x0,0x0,0x0,0xF,0xF,0x0,0x0,
pradipv 6:00aabe967e51 579 0x0,0x0,0xF,0xF,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 580 0x0,0x0,0x0,0x0,0xF0,0xF8,0x18,0x18,
pradipv 6:00aabe967e51 581 0x18,0x30,0xF8,0xF8,0x0,0x0,0x0,0x0}, // u
pradipv 3:41bdbc9b3cec 582
pradipv 6:00aabe967e51 583 {0x0,0x0,0x0,0x0,0x0,0xE,0xF,0x1,
pradipv 6:00aabe967e51 584 0x0,0x1,0xF,0xE,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 585 0x0,0x0,0x0,0x0,0x0,0x0,0xC0,0xF8,
pradipv 6:00aabe967e51 586 0x38,0xF8,0xC0,0x0,0x0,0x0,0x0,0x0}, // v
pradipv 6:00aabe967e51 587
pradipv 6:00aabe967e51 588 {0x0,0x0,0xC,0xF,0x3,0x0,0x1,0xF,
pradipv 6:00aabe967e51 589 0xE,0xF,0x1,0x0,0x3,0xF,0xC,0x0,
pradipv 6:00aabe967e51 590 0x0,0x0,0x0,0xC0,0xF8,0x38,0xF8,0xC0,
pradipv 6:00aabe967e51 591 0x0,0xC0,0xF8,0x38,0xF8,0xC0,0x0,0x0}, // w
pradipv 6:00aabe967e51 592
pradipv 6:00aabe967e51 593 {0x0,0x0,0x0,0x0,0x0,0xC,0xE,0x7,
pradipv 6:00aabe967e51 594 0x1,0x7,0xE,0xC,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 595 0x0,0x0,0x0,0x0,0x0,0x18,0x38,0xF0,
pradipv 6:00aabe967e51 596 0xC0,0xF0,0x38,0x18,0x0,0x0,0x0,0x0}, // x
pradipv 3:41bdbc9b3cec 597
pradipv 6:00aabe967e51 598 {0x0,0x0,0x0,0x0,0xC,0xF,0x3,0x0,
pradipv 6:00aabe967e51 599 0x0,0x0,0x3,0xF,0xC,0x0,0x0,0x0,
pradipv 6:00aabe967e51 600 0x0,0x0,0x0,0x0,0x0,0x3,0xE3,0xFF,
pradipv 6:00aabe967e51 601 0x3E,0xF8,0xE0,0x0,0x0,0x0,0x0,0x0}, // y
pradipv 6:00aabe967e51 602
pradipv 6:00aabe967e51 603 {0x0,0x0,0x0,0x0,0x0,0x0,0xC,0xC,
pradipv 6:00aabe967e51 604 0xC,0xD,0xF,0xF,0xC,0x0,0x0,0x0,
pradipv 6:00aabe967e51 605 0x0,0x0,0x0,0x0,0x0,0x0,0x18,0x78,
pradipv 6:00aabe967e51 606 0xF8,0xD8,0x98,0x18,0x18,0x0,0x0,0x0}, //z
pradipv 6:00aabe967e51 607
pradipv 6:00aabe967e51 608 {0x0,0x0,0x0,0x0,0x3,0x3,0x7F,0xFC,
pradipv 6:00aabe967e51 609 0xC0,0xC0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 610 0x0,0x0,0x0,0x0,0x0,0x0,0xFC,0xFE,
pradipv 6:00aabe967e51 611 0x6,0x6,0x0,0x0,0x0,0x0,0x0,0x0}, // {
pradipv 3:41bdbc9b3cec 612
pradipv 6:00aabe967e51 613 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFF,
pradipv 6:00aabe967e51 614 0xFF,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 615 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFF,
pradipv 6:00aabe967e51 616 0xFF,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // |
pradipv 3:41bdbc9b3cec 617
pradipv 6:00aabe967e51 618 {0x0,0x0,0x0,0x0,0x0,0x0,0xC0,0xC0,
pradipv 6:00aabe967e51 619 0xFC,0x7F,0x3,0x3,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 620 0x0,0x0,0x0,0x0,0x0,0x0,0x6,0x6,
pradipv 6:00aabe967e51 621 0xFE,0xFC,0x0,0x0,0x0,0x0,0x0,0x0}, // }
pradipv 6:00aabe967e51 622
pradipv 6:00aabe967e51 623 {0x0,0x0,0x0,0x0,0x18,0x30,0x30,0x30,
pradipv 6:00aabe967e51 624 0x38,0x18,0x18,0x18,0x30,0x0,0x0,0x0,
pradipv 6:00aabe967e51 625 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 626 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // ~
pradipv 6:00aabe967e51 627 };
pradipv 3:41bdbc9b3cec 628
pradipv 6:00aabe967e51 629 // Manually created 16*16 character bit map
pradipv 6:00aabe967e51 630 static const uint8_t Manual_font_16x16[95][32] = {
pradipv 6:00aabe967e51 631
pradipv 6:00aabe967e51 632 // Number 0-9, char A-Z and char a-z bit map data created manually, other
pradipv 6:00aabe967e51 633 // font bit map data taken from Aerial_bold font
pradipv 6:00aabe967e51 634
pradipv 6:00aabe967e51 635 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 636 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 637 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 638 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // SPACE
pradipv 3:41bdbc9b3cec 639
pradipv 6:00aabe967e51 640 {0x0,0x0,0x0,0x0,0x0,0x0,0x3F,0x3F,
pradipv 6:00aabe967e51 641 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 642 0x0,0x0,0x0,0x0,0x0,0x0,0xEC,0xEC,
pradipv 6:00aabe967e51 643 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // !
pradipv 3:41bdbc9b3cec 644
pradipv 6:00aabe967e51 645 {0x0,0x0,0x0,0x0,0x0,0x3C,0x3C,0x0,
pradipv 6:00aabe967e51 646 0x0,0x3C,0x3C,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 647 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 648 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //"
pradipv 3:41bdbc9b3cec 649
pradipv 6:00aabe967e51 650 {0x0,0x0,0x6,0x6,0x6,0xF,0x3F,0x36,
pradipv 6:00aabe967e51 651 0xF,0x3F,0x36,0x6,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 652 0x0,0x0,0x60,0x6C,0xFC,0xF0,0x6C,0xFC,
pradipv 6:00aabe967e51 653 0xF0,0x60,0x60,0x60,0x0,0x0,0x0,0x0},// #
pradipv 6:00aabe967e51 654
pradipv 6:00aabe967e51 655 {0x0,0x0,0x0,0x0,0xE,0x1F,0x33,0x7F,
pradipv 6:00aabe967e51 656 0x31,0x18,0x8,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 657 0x0,0x0,0x0,0x0,0x30,0x38,0x8C,0xFE,
pradipv 6:00aabe967e51 658 0xCC,0xF8,0x70,0x0,0x0,0x0,0x0,0x0}, //$
pradipv 3:41bdbc9b3cec 659
pradipv 6:00aabe967e51 660 {0x0,0x1E,0x3F,0x21,0x21,0x3F,0x1E,0x0,
pradipv 6:00aabe967e51 661 0x3,0x7,0x1C,0x38,0x20,0x0,0x0,0x0,
pradipv 6:00aabe967e51 662 0x0,0x0,0x0,0x0,0x4,0xC,0x38,0xF0,
pradipv 6:00aabe967e51 663 0xC0,0x0,0x78,0xFC,0x84,0x84,0xFC,0x78},//%
pradipv 3:41bdbc9b3cec 664
pradipv 6:00aabe967e51 665 {0x0,0x0,0x0,0x0,0x1C,0x3F,0x33,0x33,
pradipv 6:00aabe967e51 666 0x33,0x3E,0x1C,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 667 0x0,0x0,0x0,0x70,0xF8,0x8C,0xC,0xCC,
pradipv 6:00aabe967e51 668 0xEC,0x78,0x38,0xF8,0x5C,0x8,0x0,0x0},//&
pradipv 6:00aabe967e51 669
pradipv 6:00aabe967e51 670 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3C,
pradipv 6:00aabe967e51 671 0x3C,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 672 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 673 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0},//'
pradipv 3:41bdbc9b3cec 674
pradipv 6:00aabe967e51 675 {0x0,0x0,0x0,0x0,0x0,0xF,0x3F,0x70,
pradipv 6:00aabe967e51 676 0x40,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 677 0x0,0x0,0x0,0x0,0x0,0xE0,0xF8,0x1C,
pradipv 6:00aabe967e51 678 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0},//(
pradipv 6:00aabe967e51 679
pradipv 6:00aabe967e51 680 {0x0,0x0,0x0,0x0,0x0,0x40,0x70,0x3F,
pradipv 6:00aabe967e51 681 0xF,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 682 0x0,0x0,0x0,0x0,0x0,0x4,0x1C,0xF8,
pradipv 6:00aabe967e51 683 0xE0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //}
pradipv 3:41bdbc9b3cec 684
pradipv 6:00aabe967e51 685 {0x0,0x0,0x3,0x3,0x1,0x1,0xF,0xF,
pradipv 6:00aabe967e51 686 0xF,0x1,0x1,0x3,0x3,0x0,0x0,0x0,
pradipv 6:00aabe967e51 687 0x0,0x0,0x0,0x10,0x30,0xF8,0xE0,0xC0,
pradipv 6:00aabe967e51 688 0xE0,0xF8,0x30,0x10,0x0,0x0,0x0,0x0},//*
pradipv 3:41bdbc9b3cec 689
pradipv 6:00aabe967e51 690 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 691 0x7,0x7,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 692 0x0,0x0,0x0,0x0,0x0,0xC0,0xC0,0xC0,
pradipv 6:00aabe967e51 693 0xF8,0xF8,0xC0,0xC0,0xC0,0x0,0x0,0x0},//+
pradipv 6:00aabe967e51 694
pradipv 6:00aabe967e51 695 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 696 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 697 0x0,0x0,0x0,0x0,0x0,0x0,0x32,0x3C,
pradipv 6:00aabe967e51 698 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //,
pradipv 3:41bdbc9b3cec 699
pradipv 6:00aabe967e51 700 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 701 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 702 0x0,0x0,0x0,0x0,0x0,0x0,0xC0,0xC0,
pradipv 6:00aabe967e51 703 0xC0,0xC0,0xC0,0x0,0x0,0x0,0x0,0x0},// -
pradipv 6:00aabe967e51 704
pradipv 6:00aabe967e51 705 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 706 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 707 0x0,0x0,0x0,0x0,0x0,0x0,0x18,0x18,
pradipv 6:00aabe967e51 708 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // .
pradipv 3:41bdbc9b3cec 709
pradipv 6:00aabe967e51 710 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 711 0xF,0x3F,0x30,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 712 0x0,0x0,0x0,0x0,0x0,0x0,0xC,0xFC,
pradipv 6:00aabe967e51 713 0xF0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // /
pradipv 6:00aabe967e51 714
pradipv 6:00aabe967e51 715 {0x00,0x00,0x3F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 716 0x61,0x63,0x66,0x7F,0x7F,0x3F,0x00,0x00,
pradipv 6:00aabe967e51 717 0x00,0x00,0xFE,0xFF,0xFF,0x33,0x63,0xC3,
pradipv 6:00aabe967e51 718 0x83,0x03,0x03,0xFF,0xFF,0x0FE,0x00,0x00}, // 0
pradipv 6:00aabe967e51 719
pradipv 6:00aabe967e51 720 {0x00,0x00,0x00,0x00,0x08,0x18,0x3F,0x7F,
pradipv 6:00aabe967e51 721 0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,
pradipv 6:00aabe967e51 722 0x00,0x00,0x00,0x00,0x00,0x03,0xFF,0xFF,
pradipv 6:00aabe967e51 723 0xFF,0xFF,0x03,0x00,0x00,0x00,0x00,0x00 }, // 1
pradipv 6:00aabe967e51 724
pradipv 6:00aabe967e51 725 {0x00,0x00,0x30,0x70,0x60,0x60,0x60,0x60,
pradipv 6:00aabe967e51 726 0x61,0x63,0x66,0x7C,0x38,0x30,0x00,0x00,
pradipv 6:00aabe967e51 727 0x00,0x00,0x06,0x0E,0x1E,0x36,0x66,0xC6,
pradipv 6:00aabe967e51 728 0x86,0x06,0x06,0x06,0x06,0x06,0x00,0x00 }, // 2
pradipv 3:41bdbc9b3cec 729
pradipv 6:00aabe967e51 730 {0x00,0x00,0x30,0x70,0x60,0x60,0x60,0x60,
pradipv 6:00aabe967e51 731 0x61,0x63,0x66,0x7E,0x7C,0x38,0x00,0x00,
pradipv 6:00aabe967e51 732 0x00,0x00,0x0C,0x0E,0x06,0x06,0x06,0x06,
pradipv 6:00aabe967e51 733 0x86,0xC6,0x66,0x7E,0x3E,0x1C,0x00,0x00 }, // 3
pradipv 6:00aabe967e51 734
pradipv 6:00aabe967e51 735 {0x00,0x00,0x00,0x01,0x03,0x06,0xC,0x18,
pradipv 6:00aabe967e51 736 0x30,0x7F,0xFF,0xFF,0x00,0x00,0x00,0x00,
pradipv 6:00aabe967e51 737 0x00,0x00,0xE0,0xE0,0x60,0x60,0x60,0x60,
pradipv 6:00aabe967e51 738 0x60,0xFE,0xFE,0xFE,0x60,0x60,0x00,0x00 }, // 4
pradipv 6:00aabe967e51 739
pradipv 6:00aabe967e51 740 {0x00,0x00,0x7F,0x7F,0x7F,0x61,0x61,0x61,
pradipv 6:00aabe967e51 741 0x61,0x61,0x61,0x61,0x61,0x60,0x00,0x00,
pradipv 6:00aabe967e51 742 0x00,0x00,0x04,0x86,0x86,0x86,0x86,0x86,
pradipv 6:00aabe967e51 743 0x86,0x86,0x86,0xFE,0xFE,0xFC,0x00,0x00 }, // 5
pradipv 6:00aabe967e51 744
pradipv 6:00aabe967e51 745 {0x00,0x00,0x3F,0x7F,0x7F,0x61,0x61,0x61,
pradipv 6:00aabe967e51 746 0x61,0x61,0x61,0x61,0x61,0x20,0x00,0x00,
pradipv 6:00aabe967e51 747 0x00,0x00,0xFC,0xFE,0xFE,0x86,0x86,0x86,
pradipv 6:00aabe967e51 748 0x86,0x86,0x86,0xFE,0xFE,0xFC,0x00,0x00 }, // 6
pradipv 6:00aabe967e51 749
pradipv 6:00aabe967e51 750 {0x00,0x00,0x00,0x30,0x30,0x30,0x30,0x30,
pradipv 6:00aabe967e51 751 0x30,0x30,0x31,0x3F,0x3E,0x00,0x00,0x00,
pradipv 6:00aabe967e51 752 0x00,0x00,0x00,0x00,0x06,0x0C,0x18,0x30,
pradipv 6:00aabe967e51 753 0x60,0xC0,0x80,0x00,0x00,0x00,0x00,0x00 }, // 7
pradipv 6:00aabe967e51 754
pradipv 6:00aabe967e51 755 {0x00,0x00,0x3F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 756 0x60,0x60,0x60,0x7F,0x7F,0x3F,0x00,0x00,
pradipv 6:00aabe967e51 757 0x00,0x00,0x3E,0xFF,0xFF,0xC3,0xC3,0xC3,
pradipv 6:00aabe967e51 758 0xC3,0xC3,0xC3,0xFF,0xFF,0x03E,0x00,0x00}, // 8
pradipv 3:41bdbc9b3cec 759
pradipv 6:00aabe967e51 760 {0x00,0x00,0x3F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 761 0x60,0x60,0x60,0x7F,0x7F,0x3F,0x00,0x00,
pradipv 6:00aabe967e51 762 0x00,0x00,0x86,0xC7,0xC3,0xC3,0xC3,0xC3,
pradipv 6:00aabe967e51 763 0xC3,0xC3,0xC3,0xFF,0xFF,0x0FE,0x00,0x00}, // 9
pradipv 6:00aabe967e51 764
pradipv 6:00aabe967e51 765 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x18,
pradipv 6:00aabe967e51 766 0x18,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 767 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x30,
pradipv 6:00aabe967e51 768 0x30,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // :
pradipv 6:00aabe967e51 769
pradipv 6:00aabe967e51 770 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x18,
pradipv 6:00aabe967e51 771 0x18,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 772 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x32,
pradipv 6:00aabe967e51 773 0x3C,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // ;
pradipv 3:41bdbc9b3cec 774
pradipv 6:00aabe967e51 775 {0x0,0x0,0x0,0x0,0x1,0x1,0x3,0x3,
pradipv 6:00aabe967e51 776 0x6,0x6,0xC,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 777 0x0,0x0,0x0,0x80,0xC0,0xC0,0x60,0x60,
pradipv 6:00aabe967e51 778 0x30,0x30,0x18,0x0,0x0,0x0,0x0,0x0}, // <
pradipv 6:00aabe967e51 779
pradipv 6:00aabe967e51 780 {0x0,0x0,0x0,0xC,0xC,0xC,0xC,0xC,
pradipv 6:00aabe967e51 781 0xC,0xC,0xC,0xC,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 782 0x0,0x0,0x0,0xC0,0xC0,0xC0,0xC0,0xC0,
pradipv 6:00aabe967e51 783 0xC0,0xC0,0xC0,0xC0,0x0,0x0,0x0,0x0}, // =
pradipv 3:41bdbc9b3cec 784
pradipv 6:00aabe967e51 785 {0x0,0x0,0x0,0x0,0xC,0x6,0x6,0x3,
pradipv 6:00aabe967e51 786 0x3,0x1,0x1,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 787 0x0,0x0,0x0,0x0,0x18,0x30,0x30,0x60,
pradipv 6:00aabe967e51 788 0x60,0xC0,0xC0,0x80,0x0,0x0,0x0,0x0}, // >
pradipv 6:00aabe967e51 789
pradipv 6:00aabe967e51 790 {0x0,0x0,0x0,0x0,0xC,0x1C,0x38,0x30,
pradipv 6:00aabe967e51 791 0x31,0x33,0x1F,0xE,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 792 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xEC,
pradipv 6:00aabe967e51 793 0xEC,0x80,0x0,0x0,0x0,0x0,0x0,0x0}, // ?
pradipv 3:41bdbc9b3cec 794
pradipv 6:00aabe967e51 795 {0x0,0x0,0x7,0x18,0x27,0x6F,0x58,0x58,
pradipv 6:00aabe967e51 796 0x4F,0x5F,0x38,0x30,0x1F,0x0,0x0,0x0,
pradipv 6:00aabe967e51 797 0x0,0x0,0xC0,0x20,0x90,0xC8,0xC8,0x88,
pradipv 6:00aabe967e51 798 0xC8,0xC8,0x48,0x90,0x20,0x0,0x0,0x0}, //@
pradipv 6:00aabe967e51 799
pradipv 6:00aabe967e51 800 {0x00,0x00,0x3F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 801 0x60,0x60,0x60,0x7F,0x7F,0x3F,0x00,0x00,
pradipv 6:00aabe967e51 802 0x00,0x00,0xFF,0xFF,0xFF,0x60,0x60,0x60,
pradipv 6:00aabe967e51 803 0x60,0x60,0x60,0xFF,0xFF,0xFF,0x00,0x00 }, // A
pradipv 6:00aabe967e51 804
pradipv 6:00aabe967e51 805 {0x00,0x00,0x7F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 806 0x60,0x60,0x60,0x7F,0x07F,0x3E,0x00,0x00,
pradipv 6:00aabe967e51 807 0x00,0x00,0xFF,0xFF,0xFF,0xC3,0xC3,0xC3,
pradipv 6:00aabe967e51 808 0xC3,0xC3,0xC3,0xFF,0xFF,0x3E,0x00,0x00}, // B
pradipv 6:00aabe967e51 809
pradipv 6:00aabe967e51 810 {0x00,0x00,0x3F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 811 0x60,0x60,0x60,0x70,0x30,0x00,0x00,0x00,
pradipv 6:00aabe967e51 812 0x00,0x00,0xFE,0xFF,0xFF,0x03,0x03,0x03,
pradipv 6:00aabe967e51 813 0x03,0x03,0x03,0x07,0x06,0x00,0x00,0x00}, // C
pradipv 3:41bdbc9b3cec 814
pradipv 6:00aabe967e51 815 {0x00,0x00,0x7F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 816 0x60,0x60,0x60,0x70,0x3F,0x1F,0x00,0x00,
pradipv 6:00aabe967e51 817 0x00,0x00,0xFF,0xFF,0xFF,0x03,0x03,0x03,
pradipv 6:00aabe967e51 818 0x03,0x03,0x03,0x07,0xFE,0x0FC,0x00,0x00}, // D
pradipv 6:00aabe967e51 819
pradipv 6:00aabe967e51 820 {0x00,0x00,0x07F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 821 0x60,0x60,0x60,0x60,0x60,0x060,0x00,0x00,
pradipv 6:00aabe967e51 822 0x00,0x00,0xFF,0xFF,0xFF,0xC3,0xC3,0xC3,
pradipv 6:00aabe967e51 823 0xC3,0xC3,0xC3,0xC3,0x03,0x03,0x00,0x00}, // E
pradipv 6:00aabe967e51 824
pradipv 6:00aabe967e51 825 {0x00,0x00,0x7F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 826 0x60,0x60,0x60,0x60,0x60,0x060,0x00,0x00,
pradipv 6:00aabe967e51 827 0x00,0x00,0xFF,0xFF,0xFF,0xC0,0xC0,0xC0,
pradipv 6:00aabe967e51 828 0xC0,0xC0,0xC0,0xC0,0x00,0x00,0x00,0x00}, // F
pradipv 3:41bdbc9b3cec 829
pradipv 6:00aabe967e51 830 {0x00,0x00,0x3F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 831 0x60,0x60,0x60,0x78,0x38,0x18,0x00,0x00,
pradipv 6:00aabe967e51 832 0x00,0x00,0xFE,0xFF,0xFF,0x03,0x03,0x03,
pradipv 6:00aabe967e51 833 0x03,0x23,0x33,0x3F,0x3F,0x3F,0x00,0x00}, // G
pradipv 6:00aabe967e51 834
pradipv 6:00aabe967e51 835 {0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,0x00,
pradipv 6:00aabe967e51 836 0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,
pradipv 6:00aabe967e51 837 0x00,0x00,0xFF,0xFF,0xFF,0xC0,0xC0,0xC0,
pradipv 6:00aabe967e51 838 0xC0,0xC0,0xC0,0xFF,0xFF,0xFF,0x00,0x00 }, // H
pradipv 6:00aabe967e51 839
pradipv 6:00aabe967e51 840 {0x00,0x00,0x00,0x00,0x60,0x60,0x7F,0x7F,
pradipv 6:00aabe967e51 841 0x7F,0x7F,0x60,0x60,0x00,0x00,0x00,0x00,
pradipv 6:00aabe967e51 842 0x00,0x00,0x00,0x00,0x03,0x03,0xFF,0xFF,
pradipv 6:00aabe967e51 843 0xFF,0xFF,0x03,0x03,0x00,0x00,0x00,0x00 }, // I
pradipv 6:00aabe967e51 844
pradipv 6:00aabe967e51 845 {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
pradipv 6:00aabe967e51 846 0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,
pradipv 6:00aabe967e51 847 0x00,0x00,0x00,0x01E,0x1F,0x1F,0x03,0x03,
pradipv 6:00aabe967e51 848 0x03,0x03,0x03,0xFF,0xFF,0xFE,0x00,0x00 }, // J
pradipv 3:41bdbc9b3cec 849
pradipv 6:00aabe967e51 850 {0x00,0x00,0x7F,0x7F,0x7F,0x03,0x03,0x06,
pradipv 6:00aabe967e51 851 0x0C,0x18,0x30,0x60,0x60,0x00,0x00,0x00,
pradipv 6:00aabe967e51 852 0x00,0x00,0xFE,0xFE,0xFE,0xC0,0xC0,0x60,
pradipv 6:00aabe967e51 853 0x30,0x18,0x0C,0x06,0x06,0x00,0x00,0x00 }, // K
pradipv 6:00aabe967e51 854
pradipv 6:00aabe967e51 855 {0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,0x00,
pradipv 6:00aabe967e51 856 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
pradipv 6:00aabe967e51 857 0x00,0x00,0xFF,0xFF,0xFF,0x03,0x03,0x03,
pradipv 6:00aabe967e51 858 0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00 }, // L
pradipv 3:41bdbc9b3cec 859
pradipv 6:00aabe967e51 860 {0x00,0x00,0x7F,0x7F,0x7F,0x1C,0x0E,0x07,
pradipv 6:00aabe967e51 861 0x07,0x0E,0x1C,0x7F,0x7F,0x7F,0x00,0x00,
pradipv 6:00aabe967e51 862 0x00,0x00,0xFC,0xFC,0xFC,0x00,0x00,0x80,
pradipv 6:00aabe967e51 863 0x80,0x00,0x00,0xFC,0xFC,0xFC,0x00,0x00 }, // M
pradipv 6:00aabe967e51 864
pradipv 6:00aabe967e51 865 {0x00,0x00,0x7F,0x7F,0x7F,0x38,0x1C,0x07,
pradipv 6:00aabe967e51 866 0x03,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,
pradipv 6:00aabe967e51 867 0x00,0x00,0xFC,0xFC,0xFC,0x00,0x00,0x00,
pradipv 6:00aabe967e51 868 0x80,0xE0,0x70,0xFC,0xFC,0xFC,0x00,0x00 }, // N
pradipv 3:41bdbc9b3cec 869
pradipv 6:00aabe967e51 870 {0x00,0x00,0x3F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 871 0x60,0x60,0x60,0x7F,0x7F,0x3F,0x00,0x00,
pradipv 6:00aabe967e51 872 0x00,0x00,0xFE,0xFF,0xFF,0x03,0x03,0x03,
pradipv 6:00aabe967e51 873 0x03,0x03,0x03,0xFF,0xFF,0x0FE,0x00,0x00}, // O
pradipv 6:00aabe967e51 874
pradipv 6:00aabe967e51 875 {0x00,0x00,0x07F,0x7F,0x7F,0x60,0x60,0x60,
pradipv 6:00aabe967e51 876 0x60,0x60,0x60,0x7F,0x7F,0x03F,0x00,0x00,
pradipv 6:00aabe967e51 877 0x00,0x00,0xFF,0xFF,0xFF,0xC0,0xC0,0xC0,
pradipv 6:00aabe967e51 878 0xC0,0xC0,0xC0,0xC0,0xC0,0x80,0x00,0x00}, // P
pradipv 6:00aabe967e51 879
pradipv 6:00aabe967e51 880 {0x00,0x00,0x3F,0x7F,0x60,0x60,0x60,0x60,
pradipv 6:00aabe967e51 881 0x60,0x60,0x60,0x60,0x7F,0x3F,0x00,0x00,
pradipv 6:00aabe967e51 882 0x00,0x00,0xF8,0xFC,0x0C,0x0C,0x0C,0x0C,
pradipv 6:00aabe967e51 883 0x0C,0x0C,0x3C,0x3C,0xFE,0xFF,0x03,0x00}, // Q
pradipv 3:41bdbc9b3cec 884
pradipv 6:00aabe967e51 885 {0x00,0x00,0x07F,0x7F,0x7F,0x61,0x61,0x61,
pradipv 6:00aabe967e51 886 0x61,0x61,0x61,0x7F,0x7F,0x03F,0x00,0x00,
pradipv 6:00aabe967e51 887 0x00,0x00,0xFF,0xFF,0xFF,0xC0,0xE0,0xF0,
pradipv 6:00aabe967e51 888 0xB8,0x9C,0x8E,0x87,0x83,0x03,0x00,0x00}, // R
pradipv 6:00aabe967e51 889
pradipv 6:00aabe967e51 890 {0x00,0x00,0x1E,0x3F,0x73,0x61,0x61,0x61,
pradipv 6:00aabe967e51 891 0x61,0x61,0x61,0x70,0x30,0x00,0x00,0x00,
pradipv 6:00aabe967e51 892 0x00,0x00,0x0C,0x0C,0x86,0x86,0x86,0x86,
pradipv 6:00aabe967e51 893 0x86,0x86,0xC6,0xFC,0x78,0x00,0x00,0x00}, // S
pradipv 6:00aabe967e51 894
pradipv 6:00aabe967e51 895 {0x00,0x00,0x10,0x30,0x30,0x30,0x30,0x3F,
pradipv 6:00aabe967e51 896 0x3F,0x30,0x30,0x30,0x30,0x10,0x00,0x00,
pradipv 6:00aabe967e51 897 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,
pradipv 6:00aabe967e51 898 0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, // T
pradipv 6:00aabe967e51 899
pradipv 6:00aabe967e51 900 {0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,0x00,
pradipv 6:00aabe967e51 901 0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,
pradipv 6:00aabe967e51 902 0x00,0x00,0xFC,0xFE,0xFE,0x06,0x06,0x06,
pradipv 6:00aabe967e51 903 0x06,0x06,0x06,0xFE,0xFE,0xFC,0x00,0x00 }, // U
pradipv 6:00aabe967e51 904
pradipv 6:00aabe967e51 905 {0x60,0x70,0x1C,0x0F,0x03,0x00,0x00,
pradipv 6:00aabe967e51 906 0x00,0x00,0x00,0x00,0x03,0x0F,0x1C,0x70,0x60,
pradipv 6:00aabe967e51 907 0x00,0x00,0x00,0x00,0xC0,0xF0,0x3C,0x06,
pradipv 6:00aabe967e51 908 0x06,0x3C,0xF0,0xC0,0x00,0x00,0x00,0x00 }, // V
pradipv 6:00aabe967e51 909
pradipv 6:00aabe967e51 910 {0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,0x00,
pradipv 6:00aabe967e51 911 0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x00,
pradipv 6:00aabe967e51 912 0x00,0x00,0xFC,0xFE,0xFE,0x1C,0x38,0x70,
pradipv 6:00aabe967e51 913 0x70,0x38,0x1C,0xFE,0xFE,0xFC,0x00,0x00 }, // W
pradipv 6:00aabe967e51 914
pradipv 6:00aabe967e51 915 {0x00,0x00,0x60,0x70,0x78,0x0E,0x07,0x03,
pradipv 6:00aabe967e51 916 0x03,0x07,0x0E,0x78,0x70,0x60,0x00,0x00,
pradipv 6:00aabe967e51 917 0x00,0x00,0x06,0x0E,0x1E,0x70,0xE0,0xC0,
pradipv 6:00aabe967e51 918 0xC0,0xE0,0x70,0x1E,0x0E,0x06,0x00,0x00 }, // X
pradipv 6:00aabe967e51 919
pradipv 6:00aabe967e51 920 {0x00,0x00,0x20,0x30,0x18,0x0C,0x06,0x03,
pradipv 6:00aabe967e51 921 0x03,0x06,0x0C,0x18,0x30,0x20,0x00,0x00,
pradipv 6:00aabe967e51 922 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,
pradipv 6:00aabe967e51 923 0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, // Y
pradipv 3:41bdbc9b3cec 924
pradipv 6:00aabe967e51 925 {0x00,0x00,0x70,0x70,0x60,0x60,0x60,0x61,
pradipv 6:00aabe967e51 926 0x63,0x67,0x6E,0x78,0x70,0x60,0x00,0x00,
pradipv 6:00aabe967e51 927 0x00,0x00,0x06,0x0E,0x3E,0x76,0xE6,0xC6,
pradipv 6:00aabe967e51 928 0x86,0x06,0x06,0x06,0x0E,0x0E,0x00,0x00 }, // Z
pradipv 6:00aabe967e51 929
pradipv 6:00aabe967e51 930 {0x0,0x0,0x0,0x0,0x0,0x0,0x7F,0x7F,
pradipv 6:00aabe967e51 931 0x60,0x60,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 932 0x0,0x0,0x0,0x0,0x0,0x0,0xFE,0xFE,
pradipv 6:00aabe967e51 933 0x6,0x6,0x0,0x0,0x0,0x0,0x0,0x0}, // [
pradipv 6:00aabe967e51 934
pradipv 6:00aabe967e51 935 {0x0,0x0,0x0,0x0,0x0,0x0,0x30,0x3F,
pradipv 6:00aabe967e51 936 0xF,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 937 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 938 0xF0,0xFC,0xC,0x0,0x0,0x0,0x0,0x0}, // backslash
pradipv 3:41bdbc9b3cec 939
pradipv 6:00aabe967e51 940 {0x0,0x0,0x0,0x0,0x0,0x0,0x60,0x60,
pradipv 6:00aabe967e51 941 0x7F,0x7F,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 942 0x0,0x0,0x0,0x0,0x0,0x0,0x6,0x6,
pradipv 6:00aabe967e51 943 0xFE,0xFE,0x0,0x0,0x0,0x0,0x0,0x0}, // ]
pradipv 3:41bdbc9b3cec 944
pradipv 6:00aabe967e51 945 {0x0,0x0,0x0,0x0,0x1,0xF,0x3E,0x70,
pradipv 6:00aabe967e51 946 0x70,0x3E,0xF,0x1,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 947 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 948 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // ^
pradipv 6:00aabe967e51 949
pradipv 6:00aabe967e51 950 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 951 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 952 0x6,0x6,0x6,0x6,0x6,0x6,0x6,0x6,
pradipv 6:00aabe967e51 953 0x6,0x6,0x6,0x6,0x6,0x6,0x6,0x6}, // _
pradipv 3:41bdbc9b3cec 954
pradipv 6:00aabe967e51 955 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x20,
pradipv 6:00aabe967e51 956 0x30,0x10,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 957 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 958 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // `
pradipv 6:00aabe967e51 959
pradipv 6:00aabe967e51 960 {0x0,0x0,0x0,0x04,0x09,0x19,0x19,0x19,
pradipv 6:00aabe967e51 961 0x0F,0x07,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 962 0x0,0x0,0x0,0xE0,0xB0,0x30,0x30,0x20,
pradipv 6:00aabe967e51 963 0xF0,0xF0,0x10,0x0,0x0,0x0,0x0,0x0}, // a
pradipv 6:00aabe967e51 964
pradipv 6:00aabe967e51 965 {0x0,0x0,0xFF,0xFF,0xFC,0x8,0x18,0x18,
pradipv 6:00aabe967e51 966 0x1C,0xF,0x3,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 967 0x0,0x0,0xF0,0xF0,0x60,0x30,0x30,0x30,
pradipv 6:00aabe967e51 968 0x60,0xE0,0x80,0x0,0x0,0x0,0x0,0x0}, // b
pradipv 3:41bdbc9b3cec 969
pradipv 6:00aabe967e51 970 {0x0,0x0,0x07,0x0F,0x0C,0x18,0x18,0x18,
pradipv 6:00aabe967e51 971 0xC,0x4,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 972 0x0,0x0,0xC0,0xE0,0x60,0x30,0x30,0x30,
pradipv 6:00aabe967e51 973 0x60,0x40,0x0,0x0,0x0,0x0,0x0,0x0}, // c
pradipv 6:00aabe967e51 974
pradipv 6:00aabe967e51 975 {0x0,0x0,0x03,0x07,0x0C,0x18,0x18,0x18,
pradipv 6:00aabe967e51 976 0xFF,0xFF,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 977 0x0,0x0,0xC0,0xE0,0x60,0x30,0x30,0x30,
pradipv 6:00aabe967e51 978 0xF8,0xF8,0x0,0x0,0x0,0x0,0x0,0x0}, // d
pradipv 3:41bdbc9b3cec 979
pradipv 6:00aabe967e51 980 {0x0,0x0,0x03,0x0F,0x0D,0x19,0x19,0x19,
pradipv 6:00aabe967e51 981 0x19,0x0F,0x06,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 982 0x0,0x0,0xC0,0xE0,0x30,0x30,0x10,0x30,
pradipv 6:00aabe967e51 983 0x30,0x60,0x40,0x0,0x0,0x0,0x0,0x0}, // e
pradipv 6:00aabe967e51 984
pradipv 6:00aabe967e51 985 {0x0,0x0,0x0,0x0,0x00,0x03,0x03,0x3F,
pradipv 6:00aabe967e51 986 0x7F,0x43,0x03,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 987 0x0,0x0,0x0,0x0,0x0,0x0,0x00,0xFE,
pradipv 6:00aabe967e51 988 0xFE,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // f
pradipv 3:41bdbc9b3cec 989
pradipv 6:00aabe967e51 990 {0x0,0x0,0x01,0x07,0x0E,0x08,0x08,0x0C,
pradipv 6:00aabe967e51 991 0x0F,0x1F,0x00,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 992 0x0,0x0,0x84,0xE2,0x62,0x23,0x23,0x63,
pradipv 6:00aabe967e51 993 0xFE,0xFC,0x0,0x0,0x0,0x0,0x0,0x0}, // g
pradipv 6:00aabe967e51 994
pradipv 6:00aabe967e51 995 {0x0,0x0,0x00,0x3F,0x3F,0x03,0x02,0x03,
pradipv 6:00aabe967e51 996 0x03,0x01,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 997 0x0,0x0,0x0,0xFC,0xFC,0x0,0x0,0x0,
pradipv 6:00aabe967e51 998 0xFC,0xFC,0x0,0x0,0x0,0x0,0x0,0x0}, // h
pradipv 6:00aabe967e51 999
pradipv 6:00aabe967e51 1000 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x06F,
pradipv 6:00aabe967e51 1001 0x6F,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1002 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xF0,
pradipv 6:00aabe967e51 1003 0xF0,0x00,0x0,0x0,0x0,0x0,0x0,0x0}, // i
pradipv 3:41bdbc9b3cec 1004
pradipv 6:00aabe967e51 1005 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xDF,
pradipv 6:00aabe967e51 1006 0xDF,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1007 0x0,0x0,0x0,0x0,0x0,0x08,0x0C,0xFC,
pradipv 6:00aabe967e51 1008 0xF8,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // j
pradipv 3:41bdbc9b3cec 1009
pradipv 6:00aabe967e51 1010 {0x0,0x0,0xFF,0xFF,0x03,0x03,0x07,0x0C,
pradipv 6:00aabe967e51 1011 0x18,0x30,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1012 0x0,0x0,0xF0,0xF0,0x80,0x0,0x80,0xE0,
pradipv 6:00aabe967e51 1013 0x30,0x10,0x0,0x0,0x0,0x0,0x0,0x0}, // k
pradipv 6:00aabe967e51 1014
pradipv 6:00aabe967e51 1015 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x3F,
pradipv 6:00aabe967e51 1016 0x3F,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1017 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFC,
pradipv 6:00aabe967e51 1018 0xFC,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // l
pradipv 3:41bdbc9b3cec 1019
pradipv 6:00aabe967e51 1020 {0x0,0x0,0x08,0x1F,0x1F,0x18,0x18,0x18,
pradipv 6:00aabe967e51 1021 0x1F,0x1F,0x18,0x18,0x18,0x1F,0x0F,0x0,
pradipv 6:00aabe967e51 1022 0x0,0x0,0x0,0xF0,0xF0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1023 0xF0,0xF0,0x0,0x0,0x0,0xF0,0xF0,0x0}, // m
pradipv 6:00aabe967e51 1024
pradipv 6:00aabe967e51 1025 {0x0,0x0,0x1F,0x0F,0x0C,0x18,0x18,0x1C,
pradipv 6:00aabe967e51 1026 0x0F,0x07,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1027 0x0,0x0,0xF0,0xF0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1028 0xF0,0xF0,0x0,0x0,0x0,0x0,0x0,0x0}, // n
pradipv 6:00aabe967e51 1029
pradipv 6:00aabe967e51 1030 {0x0,0x0,0x03,0x07,0x0C,0x18,0x18,0x18,
pradipv 6:00aabe967e51 1031 0x0C,0x07,0x03,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1032 0x0,0x0,0x80,0xC0,0x60,0x30,0x30,0x30,
pradipv 6:00aabe967e51 1033 0x60,0xC0,0x80,0x0,0x0,0x0,0x0,0x0}, // o
pradipv 3:41bdbc9b3cec 1034
pradipv 6:00aabe967e51 1035 {0x0,0x0,0x0,0x1F,0x1F,0x0C,0x08,0x08,
pradipv 6:00aabe967e51 1036 0x0C,0x07,0x03,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1037 0x0,0x0,0x0,0xFE,0xFE,0x30,0x10,0x10,
pradipv 6:00aabe967e51 1038 0x30,0xE0,0xC0,0x0,0x0,0x0,0x0,0x0}, // p
pradipv 3:41bdbc9b3cec 1039
pradipv 6:00aabe967e51 1040 {0x0,0x0,0x01,0x07,0x0C,0x08,0x08,0x0C,
pradipv 6:00aabe967e51 1041 0x1F,0x1F,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1042 0x0,0x0,0x80,0xE0,0x30,0x10,0x10,0x30,
pradipv 6:00aabe967e51 1043 0xFE,0xFE,0x0,0x0,0x0,0x0,0x0,0x0}, // q
pradipv 6:00aabe967e51 1044
pradipv 6:00aabe967e51 1045 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1F,
pradipv 6:00aabe967e51 1046 0x1F,0x0C,0x08,0x0C,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1047 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xF0,
pradipv 6:00aabe967e51 1048 0xF0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // r
pradipv 3:41bdbc9b3cec 1049
pradipv 6:00aabe967e51 1050 {0x0,0x0,0x0,0x07,0x0F,0x19,0x19,0x0D,
pradipv 6:00aabe967e51 1051 0x04,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1052 0x0,0x0,0x0,0x60,0x30,0x18,0x98,0xB0,
pradipv 6:00aabe967e51 1053 0xE0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // s
pradipv 6:00aabe967e51 1054
pradipv 6:00aabe967e51 1055 {0x0,0x0,0x0,0x0,0x0,0x0,0x03,0x3F,
pradipv 6:00aabe967e51 1056 0x3F,0x03,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1057 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xF8,
pradipv 6:00aabe967e51 1058 0xFC,0x0C,0x08,0x0,0x0,0x0,0x0,0x0}, // t
pradipv 6:00aabe967e51 1059
pradipv 6:00aabe967e51 1060 {0x0,0x0,0x1F,0x1F,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1061 0x1F,0x1F,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1062 0x0,0x0,0xC0,0xE0,0x70,0x30,0x30,0x60,
pradipv 6:00aabe967e51 1063 0xF0,0xF0,0x0,0x0,0x0,0x0,0x0,0x0}, // u
pradipv 3:41bdbc9b3cec 1064
pradipv 6:00aabe967e51 1065 {0x0,0x0,0x0C,0x0F,0x01,0x0,0x0,0x01,
pradipv 6:00aabe967e51 1066 0x0F,0x0C,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1067 0x0,0x0,0x0,0x80,0xE0,0x30,0x30,0xE0,
pradipv 6:00aabe967e51 1068 0x80,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // v
pradipv 3:41bdbc9b3cec 1069
pradipv 6:00aabe967e51 1070 {0x0,0x0,0x18,0x1F,0x0,0x0,0x07,0x0E,
pradipv 6:00aabe967e51 1071 0x07,0x0,0x0,0x1F,0x18,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1072 0x0,0x0,0x0,0xC0,0x60,0x60,0xC0,0x0,
pradipv 6:00aabe967e51 1073 0xC0,0x60,0x60,0xC0,0x0,0x0,0x0,0x0}, // w
pradipv 6:00aabe967e51 1074
pradipv 6:00aabe967e51 1075 {0x0,0x0,0x0,0x0,0x08,0x0C,0x06,0x03,
pradipv 6:00aabe967e51 1076 0x03,0x06,0x0C,0x08,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1077 0x0,0x0,0x0,0x0,0x10,0x30,0x60,0xC0,
pradipv 6:00aabe967e51 1078 0xC0,0x60,0x30,0x10,0x0,0x0,0x0,0x0}, // x
pradipv 3:41bdbc9b3cec 1079
pradipv 6:00aabe967e51 1080 {0x0,0x0,0x08,0x0C,0x06,0x03,0x01,0x01,
pradipv 6:00aabe967e51 1081 0x03,0x06,0x0C,0x08,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1082 0x0,0x0,0x0C,0x18,0x30,0x60,0xC0,0x80,
pradipv 6:00aabe967e51 1083 0x00,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // y
pradipv 6:00aabe967e51 1084
pradipv 6:00aabe967e51 1085 {0x0,0x0,0x08,0x08,0x08,0x09,0x0B,0x0E,
pradipv 6:00aabe967e51 1086 0x0C,0x08,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1087 0x0,0x0,0x30,0x070,0xD0,0x90,0x10,0x10,
pradipv 6:00aabe967e51 1088 0x10,0x10,0x0,0x0,0x0,0x0,0x0,0x0}, // z
pradipv 6:00aabe967e51 1089
pradipv 6:00aabe967e51 1090 {0x0,0x0,0x0,0x0,0x3,0x3,0x7F,0xFC,
pradipv 6:00aabe967e51 1091 0xC0,0xC0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1092 0x0,0x0,0x0,0x0,0x0,0x0,0xFC,0xFE,
pradipv 6:00aabe967e51 1093 0x6,0x6,0x0,0x0,0x0,0x0,0x0,0x0}, // {
pradipv 3:41bdbc9b3cec 1094
pradipv 6:00aabe967e51 1095 {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFF,
pradipv 6:00aabe967e51 1096 0xFF,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1097 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xFF,
pradipv 6:00aabe967e51 1098 0xFF,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // |
pradipv 3:41bdbc9b3cec 1099
pradipv 6:00aabe967e51 1100 {0x0,0x0,0x0,0x0,0x0,0x0,0xC0,0xC0,
pradipv 6:00aabe967e51 1101 0xFC,0x7F,0x3,0x3,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1102 0x0,0x0,0x0,0x0,0x0,0x0,0x6,0x6,
pradipv 6:00aabe967e51 1103 0xFE,0xFC,0x0,0x0,0x0,0x0,0x0,0x0}, // }
pradipv 6:00aabe967e51 1104
pradipv 6:00aabe967e51 1105 {0x0,0x0,0x0,0x0,0x18,0x30,0x30,0x30,
pradipv 6:00aabe967e51 1106 0x38,0x18,0x18,0x18,0x30,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1107 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
pradipv 6:00aabe967e51 1108 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, // ~
pradipv 6:00aabe967e51 1109 };
pradipv 6:00aabe967e51 1110
pradipv 3:41bdbc9b3cec 1111
pradipv 3:41bdbc9b3cec 1112
pradipv 3:41bdbc9b3cec 1113 static uint8_t display_buff[1024];
pradipv 3:41bdbc9b3cec 1114 static uint8_t display_buff_16x16[32];
pradipv 3:41bdbc9b3cec 1115 static uint16_t buff_end =0;
pradipv 3:41bdbc9b3cec 1116 static uint8_t disp_buff1[512];
pradipv 3:41bdbc9b3cec 1117 static uint8_t disp_buff2[512];
pradipv 3:41bdbc9b3cec 1118 static uint8_t temp_buff1[512];
pradipv 3:41bdbc9b3cec 1119 static uint8_t temp_buff2[512];
j3 0:6b0161c3e440 1120 static uint8_t temp_buff[256];
j3 0:6b0161c3e440 1121
j3 2:9fdd01cf0f88 1122 static const uint8_t DISPLAY_BUFF_START = 0;
j3 2:9fdd01cf0f88 1123 static const uint8_t DISPLAY_BUFF_END = 31;
j3 0:6b0161c3e440 1124 static const uint32_t MAX_STRING_LENGTH = 32;
j3 0:6b0161c3e440 1125 static char str[MAX_STRING_LENGTH];
j3 0:6b0161c3e440 1126
j3 0:6b0161c3e440 1127
j3 0:6b0161c3e440 1128 //*********************************************************************
j3 0:6b0161c3e440 1129 void get_5x7_character(char c, uint8_t *char_buff)
j3 0:6b0161c3e440 1130 {
j3 0:6b0161c3e440 1131 uint16_t temp_data;
j3 0:6b0161c3e440 1132 uint8_t idx, idy;
j3 0:6b0161c3e440 1133
j3 0:6b0161c3e440 1134 for(idx = 0; idx < 6; idx++)
j3 0:6b0161c3e440 1135 {
j3 0:6b0161c3e440 1136 //get byte of char from map and flip it, bit 0 becomes bit 7 and so on
j3 0:6b0161c3e440 1137 temp_data = (0x00FF & (font_5x7[c - 0x20][idx]));
j3 0:6b0161c3e440 1138 for(idy = 0; idy < 8; idy++)
j3 0:6b0161c3e440 1139 {
j3 0:6b0161c3e440 1140 temp_data = (temp_data | (((temp_data & (1 << idy)) << (15 - (idy*2)))));
j3 0:6b0161c3e440 1141 }
j3 0:6b0161c3e440 1142 temp_data = ((temp_data >> 8) & 0x00FF);
j3 0:6b0161c3e440 1143
j3 0:6b0161c3e440 1144 char_buff[idx] = ((uint8_t) temp_data);
j3 0:6b0161c3e440 1145 }
j3 0:6b0161c3e440 1146 }
j3 0:6b0161c3e440 1147
j3 0:6b0161c3e440 1148
j3 0:6b0161c3e440 1149 //*********************************************************************
j3 2:9fdd01cf0f88 1150 void print_char(Max7219 *p_display, uint8_t position99, char c)
j3 0:6b0161c3e440 1151 {
j3 0:6b0161c3e440 1152 uint8_t idx;
j3 2:9fdd01cf0f88 1153 uint8_t char_buff[6];
j3 2:9fdd01cf0f88 1154 uint8_t device;
j3 0:6b0161c3e440 1155 uint8_t wrap_device;
j3 0:6b0161c3e440 1156 uint8_t wrap_idx;
j3 2:9fdd01cf0f88 1157 uint8_t buff_start = position99;
j3 0:6b0161c3e440 1158
j3 0:6b0161c3e440 1159 get_5x7_character(c, char_buff);
j3 2:9fdd01cf0f88 1160
j3 2:9fdd01cf0f88 1161 if(position99 < 33)
j3 0:6b0161c3e440 1162 {
j3 2:9fdd01cf0f88 1163 //get device and device_position
j3 2:9fdd01cf0f88 1164 if(position99 > 8)
j3 2:9fdd01cf0f88 1165 {
j3 2:9fdd01cf0f88 1166 if(position99%8)
j3 2:9fdd01cf0f88 1167 {
j3 2:9fdd01cf0f88 1168 device = ((position99/8) + 1);
j3 2:9fdd01cf0f88 1169 position99 = position99%8;
j3 2:9fdd01cf0f88 1170 }
j3 2:9fdd01cf0f88 1171 else
j3 2:9fdd01cf0f88 1172 {
j3 2:9fdd01cf0f88 1173 device = position99/8;
j3 2:9fdd01cf0f88 1174 position99 = 8;
j3 2:9fdd01cf0f88 1175 }
j3 2:9fdd01cf0f88 1176 }
j3 2:9fdd01cf0f88 1177 else
j3 2:9fdd01cf0f88 1178 {
j3 2:9fdd01cf0f88 1179 device = 1;
j3 2:9fdd01cf0f88 1180 }
j3 2:9fdd01cf0f88 1181
j3 2:9fdd01cf0f88 1182 //check for dispaly wrap around
j3 2:9fdd01cf0f88 1183 //(moving to next 8x8 grid cause character doesn't fit on current one)
j3 2:9fdd01cf0f88 1184 if(position99 > 3)
j3 2:9fdd01cf0f88 1185 {
j3 2:9fdd01cf0f88 1186 wrap_idx = (9 - position99);
j3 2:9fdd01cf0f88 1187 if(device < 4)
j3 2:9fdd01cf0f88 1188 {
j3 2:9fdd01cf0f88 1189 wrap_device = (device + 1);
j3 2:9fdd01cf0f88 1190 }
j3 2:9fdd01cf0f88 1191 else
j3 2:9fdd01cf0f88 1192 {
j3 2:9fdd01cf0f88 1193 wrap_device = 1;
j3 2:9fdd01cf0f88 1194 }
j3 2:9fdd01cf0f88 1195 }
j3 2:9fdd01cf0f88 1196 else
j3 2:9fdd01cf0f88 1197 {
j3 2:9fdd01cf0f88 1198 wrap_idx = 6; //make bigger than idx, not used
j3 2:9fdd01cf0f88 1199 wrap_device = 0; //not used
j3 2:9fdd01cf0f88 1200 }
j3 2:9fdd01cf0f88 1201
j3 2:9fdd01cf0f88 1202 //print character to position
j3 2:9fdd01cf0f88 1203 for(idx = 0; idx < 6; idx++)
j3 2:9fdd01cf0f88 1204 {
j3 2:9fdd01cf0f88 1205 //check for wrap
j3 2:9fdd01cf0f88 1206 if((idx >= wrap_idx) && (device != 4))
j3 2:9fdd01cf0f88 1207 {
j3 2:9fdd01cf0f88 1208 p_display->write_digit(wrap_device, ((idx - wrap_idx) + 1), char_buff[idx]);
j3 2:9fdd01cf0f88 1209 }
j3 2:9fdd01cf0f88 1210 else
j3 2:9fdd01cf0f88 1211 {
j3 2:9fdd01cf0f88 1212 p_display->write_digit(device, (position99 + idx), char_buff[idx]);
j3 2:9fdd01cf0f88 1213 }
j3 2:9fdd01cf0f88 1214
j3 2:9fdd01cf0f88 1215 buff_end = ((buff_start - 1) + idx);
j3 2:9fdd01cf0f88 1216 display_buff[buff_end] = char_buff[idx];
j3 2:9fdd01cf0f88 1217 }
j3 0:6b0161c3e440 1218 }
j3 0:6b0161c3e440 1219 else
j3 0:6b0161c3e440 1220 {
j3 2:9fdd01cf0f88 1221 for(idx = 0; idx < 6; idx++)
j3 2:9fdd01cf0f88 1222 {
j3 2:9fdd01cf0f88 1223 buff_end = ((buff_start - 1) + idx);
j3 2:9fdd01cf0f88 1224 display_buff[buff_end] = char_buff[idx];
j3 2:9fdd01cf0f88 1225 }
j3 0:6b0161c3e440 1226 }
j3 0:6b0161c3e440 1227 }
j3 0:6b0161c3e440 1228
j3 0:6b0161c3e440 1229
j3 0:6b0161c3e440 1230 //*********************************************************************
j3 0:6b0161c3e440 1231 void print_string(Max7219 *p_display, uint8_t position, const char *s)
j3 0:6b0161c3e440 1232 {
j3 0:6b0161c3e440 1233 uint8_t idx = 0;
j3 0:6b0161c3e440 1234
j3 0:6b0161c3e440 1235 while(s[idx] != '\0')
j3 0:6b0161c3e440 1236 {
j3 0:6b0161c3e440 1237 print_char(p_display, (position + (idx*6)), s[idx]);
j3 0:6b0161c3e440 1238 idx++;
j3 0:6b0161c3e440 1239 }
j3 0:6b0161c3e440 1240 }
j3 0:6b0161c3e440 1241
j3 0:6b0161c3e440 1242
j3 0:6b0161c3e440 1243 //*********************************************************************
j3 2:9fdd01cf0f88 1244 void shift_display_right(Max7219 *p_display, uint8_t count, uint8_t ms_delay)
j3 0:6b0161c3e440 1245 {
j3 0:6b0161c3e440 1246 uint16_t idx, idy;
j3 2:9fdd01cf0f88 1247 uint8_t position99;
j3 0:6b0161c3e440 1248
j3 0:6b0161c3e440 1249 for(idx = 0; idx < count; idx++)
j3 0:6b0161c3e440 1250 {
j3 2:9fdd01cf0f88 1251 for(idy = 0; idy < (buff_end + 1); idy++)
j3 0:6b0161c3e440 1252 {
j3 2:9fdd01cf0f88 1253 if(idy == buff_end)
j3 0:6b0161c3e440 1254 {
j3 0:6b0161c3e440 1255 temp_buff[0] = display_buff[idy];
j3 0:6b0161c3e440 1256 }
j3 0:6b0161c3e440 1257 else
j3 0:6b0161c3e440 1258 {
j3 0:6b0161c3e440 1259 temp_buff[idy + 1] = display_buff[idy];
j3 0:6b0161c3e440 1260 }
j3 0:6b0161c3e440 1261 }
j3 0:6b0161c3e440 1262
j3 2:9fdd01cf0f88 1263 for(idy = 0; idy < (buff_end + 1); idy++)
j3 0:6b0161c3e440 1264 {
j3 0:6b0161c3e440 1265 //save shifted display in buffer
j3 0:6b0161c3e440 1266 display_buff[idy] = temp_buff[idy];
j3 0:6b0161c3e440 1267
j3 2:9fdd01cf0f88 1268 if(idy <= DISPLAY_BUFF_END)
j3 0:6b0161c3e440 1269 {
j3 2:9fdd01cf0f88 1270 position99 = ((idy - DISPLAY_BUFF_START) + 1);
j3 2:9fdd01cf0f88 1271 if(position99 > 24)
j3 0:6b0161c3e440 1272 {
j3 2:9fdd01cf0f88 1273 if(position99 % 8)
j3 0:6b0161c3e440 1274 {
j3 2:9fdd01cf0f88 1275 position99 = position99 % 8;
j3 0:6b0161c3e440 1276 }
j3 0:6b0161c3e440 1277 else
j3 0:6b0161c3e440 1278 {
j3 2:9fdd01cf0f88 1279 position99 = 8;
j3 0:6b0161c3e440 1280 }
j3 2:9fdd01cf0f88 1281 p_display->write_digit(4, position99, display_buff[idy]);
j3 0:6b0161c3e440 1282 }
j3 2:9fdd01cf0f88 1283 else if(position99 > 16)
j3 0:6b0161c3e440 1284 {
j3 2:9fdd01cf0f88 1285 if(position99 % 8)
j3 0:6b0161c3e440 1286 {
j3 2:9fdd01cf0f88 1287 position99 = position99 % 8;
j3 0:6b0161c3e440 1288 }
j3 0:6b0161c3e440 1289 else
j3 0:6b0161c3e440 1290 {
j3 2:9fdd01cf0f88 1291 position99 = 8;
j3 0:6b0161c3e440 1292 }
j3 2:9fdd01cf0f88 1293 p_display->write_digit(3, position99, display_buff[idy]);
j3 0:6b0161c3e440 1294 }
j3 2:9fdd01cf0f88 1295 else if(position99 > 8)
j3 0:6b0161c3e440 1296 {
j3 2:9fdd01cf0f88 1297 if(position99 % 8)
j3 0:6b0161c3e440 1298 {
j3 2:9fdd01cf0f88 1299 position99 = position99 % 8;
j3 0:6b0161c3e440 1300 }
j3 0:6b0161c3e440 1301 else
j3 0:6b0161c3e440 1302 {
j3 2:9fdd01cf0f88 1303 position99 = 8;
j3 0:6b0161c3e440 1304 }
j3 2:9fdd01cf0f88 1305 p_display->write_digit(2, position99, display_buff[idy]);
j3 0:6b0161c3e440 1306 }
j3 0:6b0161c3e440 1307 else
j3 0:6b0161c3e440 1308 {
j3 2:9fdd01cf0f88 1309 p_display->write_digit(1, position99, display_buff[idy]);
j3 0:6b0161c3e440 1310 }
j3 0:6b0161c3e440 1311 }
j3 0:6b0161c3e440 1312 }
j3 2:9fdd01cf0f88 1313
j3 2:9fdd01cf0f88 1314 wait_ms(ms_delay);
j3 0:6b0161c3e440 1315 }
j3 0:6b0161c3e440 1316 }
j3 0:6b0161c3e440 1317
j3 0:6b0161c3e440 1318
j3 2:9fdd01cf0f88 1319 //*********************************************************************
j3 2:9fdd01cf0f88 1320 void shift_display_left(Max7219 *p_display, uint8_t count, uint8_t ms_delay)
j3 0:6b0161c3e440 1321 {
j3 0:6b0161c3e440 1322 uint16_t idx, idy;
j3 2:9fdd01cf0f88 1323 uint8_t position99;
j3 0:6b0161c3e440 1324
j3 0:6b0161c3e440 1325 for(idx = 0; idx < count; idx++)
j3 0:6b0161c3e440 1326 {
j3 2:9fdd01cf0f88 1327 for(idy = 0; idy < (buff_end + 1); idy++)
j3 0:6b0161c3e440 1328 {
j3 0:6b0161c3e440 1329 if(idy == 0)
j3 0:6b0161c3e440 1330 {
j3 2:9fdd01cf0f88 1331 temp_buff[buff_end] = display_buff[idy];
j3 0:6b0161c3e440 1332 }
j3 0:6b0161c3e440 1333 else
j3 0:6b0161c3e440 1334 {
j3 0:6b0161c3e440 1335 temp_buff[idy - 1] = display_buff[idy];
j3 0:6b0161c3e440 1336 }
j3 0:6b0161c3e440 1337 }
j3 0:6b0161c3e440 1338
j3 2:9fdd01cf0f88 1339 for(idy = 0; idy < (buff_end + 1); idy++)
j3 0:6b0161c3e440 1340 {
j3 0:6b0161c3e440 1341 //save shifted display in buffer
j3 0:6b0161c3e440 1342 display_buff[idy] = temp_buff[idy];
j3 0:6b0161c3e440 1343
j3 2:9fdd01cf0f88 1344 if(idy <= DISPLAY_BUFF_END)
j3 0:6b0161c3e440 1345 {
j3 2:9fdd01cf0f88 1346 position99 = ((idy - DISPLAY_BUFF_START) + 1);
j3 2:9fdd01cf0f88 1347 if(position99 > 24)
j3 0:6b0161c3e440 1348 {
j3 2:9fdd01cf0f88 1349 if(position99 % 8)
j3 0:6b0161c3e440 1350 {
j3 2:9fdd01cf0f88 1351 position99 = position99 % 8;
j3 0:6b0161c3e440 1352 }
j3 0:6b0161c3e440 1353 else
j3 0:6b0161c3e440 1354 {
j3 2:9fdd01cf0f88 1355 position99 = 8;
j3 0:6b0161c3e440 1356 }
j3 2:9fdd01cf0f88 1357 p_display->write_digit(4, position99, display_buff[idy]);
j3 0:6b0161c3e440 1358 }
j3 2:9fdd01cf0f88 1359 else if(position99 > 16)
j3 0:6b0161c3e440 1360 {
j3 2:9fdd01cf0f88 1361 if(position99 % 8)
j3 0:6b0161c3e440 1362 {
j3 2:9fdd01cf0f88 1363 position99 = position99 % 8;
j3 0:6b0161c3e440 1364 }
j3 0:6b0161c3e440 1365 else
j3 0:6b0161c3e440 1366 {
j3 2:9fdd01cf0f88 1367 position99 = 8;
j3 0:6b0161c3e440 1368 }
j3 2:9fdd01cf0f88 1369 p_display->write_digit(3, position99, display_buff[idy]);
j3 0:6b0161c3e440 1370 }
j3 2:9fdd01cf0f88 1371 else if(position99 > 8)
j3 0:6b0161c3e440 1372 {
j3 2:9fdd01cf0f88 1373 if(position99 % 8)
j3 0:6b0161c3e440 1374 {
j3 2:9fdd01cf0f88 1375 position99 = position99 % 8;
j3 0:6b0161c3e440 1376 }
j3 0:6b0161c3e440 1377 else
j3 0:6b0161c3e440 1378 {
j3 2:9fdd01cf0f88 1379 position99 = 8;
j3 0:6b0161c3e440 1380 }
j3 2:9fdd01cf0f88 1381 p_display->write_digit(2, position99, display_buff[idy]);
j3 0:6b0161c3e440 1382 }
j3 0:6b0161c3e440 1383 else
j3 0:6b0161c3e440 1384 {
j3 2:9fdd01cf0f88 1385 p_display->write_digit(1, position99, display_buff[idy]);
j3 0:6b0161c3e440 1386 }
j3 0:6b0161c3e440 1387 }
j3 0:6b0161c3e440 1388 }
j3 2:9fdd01cf0f88 1389
j3 2:9fdd01cf0f88 1390 wait_ms(ms_delay);
j3 0:6b0161c3e440 1391 }
j3 0:6b0161c3e440 1392 }
j3 0:6b0161c3e440 1393
j3 0:6b0161c3e440 1394
j3 0:6b0161c3e440 1395 //*********************************************************************
j3 0:6b0161c3e440 1396 void quad_all_on(Max7219 *p_display, uint8_t quad)
j3 0:6b0161c3e440 1397 {
j3 0:6b0161c3e440 1398 if(quad > 1)
j3 0:6b0161c3e440 1399 {
j3 0:6b0161c3e440 1400 for(uint8_t idx = 0; idx < 8; idx++)
j3 0:6b0161c3e440 1401 {
j3 0:6b0161c3e440 1402 display_buff[((quad - 1)*8) + DISPLAY_BUFF_START + idx] = 0xFF;
j3 0:6b0161c3e440 1403 }
j3 0:6b0161c3e440 1404 }
j3 0:6b0161c3e440 1405 else
j3 0:6b0161c3e440 1406 {
j3 0:6b0161c3e440 1407 for(uint8_t idx = 0; idx < 8; idx++)
j3 0:6b0161c3e440 1408 {
j3 0:6b0161c3e440 1409 display_buff[idx + DISPLAY_BUFF_START] = 0xFF;
j3 0:6b0161c3e440 1410 }
j3 0:6b0161c3e440 1411 }
j3 2:9fdd01cf0f88 1412
j3 2:9fdd01cf0f88 1413 if(buff_end < (quad * 8))
j3 2:9fdd01cf0f88 1414 {
j3 2:9fdd01cf0f88 1415 buff_end = (quad * 8);
j3 2:9fdd01cf0f88 1416 }
j3 0:6b0161c3e440 1417
j3 0:6b0161c3e440 1418 p_display->device_all_on(quad);
j3 0:6b0161c3e440 1419 }
j3 0:6b0161c3e440 1420
j3 0:6b0161c3e440 1421
j3 0:6b0161c3e440 1422 //*********************************************************************
j3 0:6b0161c3e440 1423 void quad_all_off(Max7219 *p_display, uint8_t quad)
j3 0:6b0161c3e440 1424 {
j3 0:6b0161c3e440 1425 if(quad > 1)
j3 0:6b0161c3e440 1426 {
j3 0:6b0161c3e440 1427 for(uint8_t idx = 0; idx < 8; idx++)
j3 0:6b0161c3e440 1428 {
j3 0:6b0161c3e440 1429 display_buff[((quad - 1)*8) + DISPLAY_BUFF_START + idx] = 0;
j3 0:6b0161c3e440 1430 }
j3 0:6b0161c3e440 1431 }
j3 0:6b0161c3e440 1432 else
j3 0:6b0161c3e440 1433 {
j3 0:6b0161c3e440 1434 for(uint8_t idx = 0; idx < 8; idx++)
j3 0:6b0161c3e440 1435 {
j3 0:6b0161c3e440 1436 display_buff[idx + DISPLAY_BUFF_START] = 0;
j3 0:6b0161c3e440 1437 }
j3 0:6b0161c3e440 1438 }
j3 2:9fdd01cf0f88 1439
j3 2:9fdd01cf0f88 1440 //is buff_end in the quad?
j3 2:9fdd01cf0f88 1441 if((((quad - 1) * 8) < buff_end) && ((quad * 8) > buff_end))
j3 2:9fdd01cf0f88 1442 {
j3 2:9fdd01cf0f88 1443 buff_end = ((quad - 1) * 8);
j3 2:9fdd01cf0f88 1444 }
j3 2:9fdd01cf0f88 1445 //leave it alone otherwise
j3 0:6b0161c3e440 1446
j3 0:6b0161c3e440 1447 p_display->device_all_off(quad);
j3 0:6b0161c3e440 1448 }
j3 0:6b0161c3e440 1449
j3 0:6b0161c3e440 1450
j3 0:6b0161c3e440 1451 //*********************************************************************
j3 0:6b0161c3e440 1452 void all_on(Max7219 *p_display)
j3 0:6b0161c3e440 1453 {
j3 2:9fdd01cf0f88 1454 for(uint16_t idx = 0; idx < 32; idx++)
j3 0:6b0161c3e440 1455 {
j3 0:6b0161c3e440 1456 display_buff[idx] = 0xFF;
j3 0:6b0161c3e440 1457 }
j3 2:9fdd01cf0f88 1458
j3 2:9fdd01cf0f88 1459 if(buff_end < 32)
j3 2:9fdd01cf0f88 1460 {
j3 2:9fdd01cf0f88 1461 buff_end = 32;
j3 2:9fdd01cf0f88 1462 }
j3 0:6b0161c3e440 1463
j3 0:6b0161c3e440 1464 p_display->display_all_on();
j3 0:6b0161c3e440 1465 }
j3 0:6b0161c3e440 1466
j3 0:6b0161c3e440 1467
j3 0:6b0161c3e440 1468 //*********************************************************************
j3 0:6b0161c3e440 1469 void all_off(Max7219 *p_display)
j3 0:6b0161c3e440 1470 {
j3 2:9fdd01cf0f88 1471 for(uint16_t idx = 0; idx < 32; idx++)
j3 0:6b0161c3e440 1472 {
j3 0:6b0161c3e440 1473 display_buff[idx] = 0;
j3 0:6b0161c3e440 1474 }
j3 2:9fdd01cf0f88 1475
j3 2:9fdd01cf0f88 1476 if(buff_end < 32)
j3 2:9fdd01cf0f88 1477 {
j3 2:9fdd01cf0f88 1478 buff_end = 0;
j3 2:9fdd01cf0f88 1479 }
j3 0:6b0161c3e440 1480
j3 0:6b0161c3e440 1481 p_display->display_all_off();
j3 0:6b0161c3e440 1482 }
j3 0:6b0161c3e440 1483
j3 0:6b0161c3e440 1484
j3 0:6b0161c3e440 1485 //*********************************************************************
j3 0:6b0161c3e440 1486 void demo(Max7219 *display, max7219_configuration_t display_config, bool endless_loop)
j3 0:6b0161c3e440 1487 {
j3 0:6b0161c3e440 1488 uint8_t position = 1;
j3 0:6b0161c3e440 1489 uint8_t idx = 0;
j3 0:6b0161c3e440 1490
j3 0:6b0161c3e440 1491 do
j3 0:6b0161c3e440 1492 {
j3 0:6b0161c3e440 1493 all_off(display);
j3 0:6b0161c3e440 1494
j3 0:6b0161c3e440 1495 if(position > 25)
j3 0:6b0161c3e440 1496 {
j3 0:6b0161c3e440 1497 position = 1;
j3 0:6b0161c3e440 1498 }
j3 0:6b0161c3e440 1499 printf("\nPosition = %d\n", position);
j3 0:6b0161c3e440 1500
j3 0:6b0161c3e440 1501 for(idx = 0x20; idx < 0x7F; idx++)
j3 0:6b0161c3e440 1502 {
j3 0:6b0161c3e440 1503 print_char(display, position, (char) idx);
j3 0:6b0161c3e440 1504 wait(0.25);
j3 0:6b0161c3e440 1505 }
j3 0:6b0161c3e440 1506 position = (position + 8);
j3 0:6b0161c3e440 1507
j3 0:6b0161c3e440 1508 all_on(display);
j3 0:6b0161c3e440 1509
j3 0:6b0161c3e440 1510 for(idx = 0; idx < 16; idx++)
j3 0:6b0161c3e440 1511 {
j3 0:6b0161c3e440 1512 display_config.intensity = 15 - idx;
j3 0:6b0161c3e440 1513 display->init_display(display_config);
j3 0:6b0161c3e440 1514 wait_ms(50);
j3 0:6b0161c3e440 1515 }
j3 0:6b0161c3e440 1516
j3 0:6b0161c3e440 1517 for(idx = 0; idx < 16; idx++)
j3 0:6b0161c3e440 1518 {
j3 0:6b0161c3e440 1519 display_config.intensity = idx;
j3 0:6b0161c3e440 1520 display->init_display(display_config);
j3 0:6b0161c3e440 1521 wait_ms(100);
j3 0:6b0161c3e440 1522 }
j3 0:6b0161c3e440 1523
j3 0:6b0161c3e440 1524 wait_ms(100);
j3 0:6b0161c3e440 1525 all_off(display);
j3 0:6b0161c3e440 1526 wait_ms(100);
j3 0:6b0161c3e440 1527
j3 0:6b0161c3e440 1528 quad_all_on(display, 1);
j3 0:6b0161c3e440 1529 wait_ms(500);
j3 0:6b0161c3e440 1530 shift_display_right(display, 32, 100);
j3 0:6b0161c3e440 1531 shift_display_left(display, 32, 100);
j3 0:6b0161c3e440 1532 all_off(display);
j3 0:6b0161c3e440 1533 wait_ms(100);
j3 0:6b0161c3e440 1534
j3 0:6b0161c3e440 1535 print_string(display, 1, "Maxim");
j3 0:6b0161c3e440 1536 wait_ms(100);
j3 0:6b0161c3e440 1537 shift_display_right(display, 32, 100);
j3 0:6b0161c3e440 1538 shift_display_left(display, 32, 100);
j3 0:6b0161c3e440 1539 wait_ms(100);
j3 0:6b0161c3e440 1540 }
j3 0:6b0161c3e440 1541 while(endless_loop);
j3 0:6b0161c3e440 1542 }
j3 0:6b0161c3e440 1543
j3 0:6b0161c3e440 1544
j3 0:6b0161c3e440 1545 //*********************************************************************
j3 0:6b0161c3e440 1546 void endless_scroll_display(Max7219 *display, uint32_t scroll_right)
j3 0:6b0161c3e440 1547 {
j3 0:6b0161c3e440 1548 if(scroll_right)
j3 0:6b0161c3e440 1549 {
j3 0:6b0161c3e440 1550 printf("\nScrolling Right\n");
j3 0:6b0161c3e440 1551 while(1)
j3 0:6b0161c3e440 1552 {
j3 0:6b0161c3e440 1553 shift_display_right(display, 1, 100);
j3 0:6b0161c3e440 1554 }
j3 0:6b0161c3e440 1555 }
j3 0:6b0161c3e440 1556 else
j3 0:6b0161c3e440 1557 {
j3 0:6b0161c3e440 1558 printf("\nScrolling Left\n");
j3 0:6b0161c3e440 1559 while(1)
j3 0:6b0161c3e440 1560 {
j3 0:6b0161c3e440 1561 shift_display_left(display, 1, 100);
j3 0:6b0161c3e440 1562 }
j3 0:6b0161c3e440 1563 }
j3 0:6b0161c3e440 1564 }
j3 0:6b0161c3e440 1565
pradipv 3:41bdbc9b3cec 1566 /********************************************************************/
pradipv 6:00aabe967e51 1567 void get_16x16_character(char c, uint8_t *char_buff,uint8_t font_type)
pradipv 3:41bdbc9b3cec 1568 {
pradipv 3:41bdbc9b3cec 1569 uint8_t idx;
pradipv 6:00aabe967e51 1570
pradipv 6:00aabe967e51 1571 switch(font_type)
pradipv 3:41bdbc9b3cec 1572 {
pradipv 6:00aabe967e51 1573 case 1:
pradipv 6:00aabe967e51 1574 for(idx = 0; idx < 32; idx++)
pradipv 6:00aabe967e51 1575 {
pradipv 6:00aabe967e51 1576 //Get byte of char from map & store in buffer
pradipv 6:00aabe967e51 1577 char_buff[idx] = Aerial_bold_font_16x16[c - 0x20][idx];
pradipv 6:00aabe967e51 1578 }
pradipv 6:00aabe967e51 1579 break;
pradipv 6:00aabe967e51 1580
pradipv 6:00aabe967e51 1581 case 2:
pradipv 6:00aabe967e51 1582 for(idx = 0; idx < 32; idx++)
pradipv 6:00aabe967e51 1583 {
pradipv 6:00aabe967e51 1584 //Get byte of char from map & store in buffer
pradipv 6:00aabe967e51 1585 char_buff[idx] = Manual_font_16x16[c - 0x20][idx];
pradipv 6:00aabe967e51 1586 }
pradipv 6:00aabe967e51 1587 break;
pradipv 6:00aabe967e51 1588 default :
pradipv 6:00aabe967e51 1589 for(idx = 0; idx < 32; idx++)
pradipv 6:00aabe967e51 1590 {
pradipv 6:00aabe967e51 1591 //Get byte of char from map & store in buffer
pradipv 6:00aabe967e51 1592 char_buff[idx] = Aerial_bold_font_16x16[c - 0x20][idx];
pradipv 6:00aabe967e51 1593 }
pradipv 6:00aabe967e51 1594 break;
pradipv 6:00aabe967e51 1595 } //switch
pradipv 6:00aabe967e51 1596
pradipv 3:41bdbc9b3cec 1597 }
pradipv 3:41bdbc9b3cec 1598
pradipv 3:41bdbc9b3cec 1599
pradipv 6:00aabe967e51 1600 void print_char_16x16(Max7219 *p_display, uint16_t position, char c,uint8_t font_type)
pradipv 3:41bdbc9b3cec 1601 {
pradipv 3:41bdbc9b3cec 1602
pradipv 3:41bdbc9b3cec 1603 uint8_t idx;
pradipv 3:41bdbc9b3cec 1604 uint8_t char_buff[32];
pradipv 3:41bdbc9b3cec 1605 uint8_t device;
pradipv 3:41bdbc9b3cec 1606 uint16_t buff_start = position;
pradipv 3:41bdbc9b3cec 1607
pradipv 6:00aabe967e51 1608 get_16x16_character(c, char_buff,font_type);
pradipv 3:41bdbc9b3cec 1609
pradipv 3:41bdbc9b3cec 1610 for(device =1;device<5;device++)
pradipv 3:41bdbc9b3cec 1611 {
pradipv 3:41bdbc9b3cec 1612 for(idx = 0; idx < 8; idx++)
pradipv 3:41bdbc9b3cec 1613 {
pradipv 3:41bdbc9b3cec 1614 p_display->write_digit(device, idx+1,char_buff[idx+(device-1)*8]);
pradipv 3:41bdbc9b3cec 1615
pradipv 3:41bdbc9b3cec 1616 //get index for display buffer, keeps image of display for shifting
pradipv 3:41bdbc9b3cec 1617 buff_end = (device - 1) * 8 + idx + buff_start;
pradipv 3:41bdbc9b3cec 1618
pradipv 3:41bdbc9b3cec 1619 //wrap buff back around
pradipv 3:41bdbc9b3cec 1620 if(buff_end > 1023)
pradipv 3:41bdbc9b3cec 1621 {
pradipv 3:41bdbc9b3cec 1622 buff_end -= 1023;
pradipv 3:41bdbc9b3cec 1623 }
pradipv 3:41bdbc9b3cec 1624 display_buff[buff_end] = char_buff[idx+(device-1)*8];
pradipv 3:41bdbc9b3cec 1625
pradipv 3:41bdbc9b3cec 1626 }
pradipv 3:41bdbc9b3cec 1627 }
pradipv 3:41bdbc9b3cec 1628 buff_end +=1;
pradipv 3:41bdbc9b3cec 1629 //Arrange single character data in upper and lower row
pradipv 3:41bdbc9b3cec 1630 for(idx=0;idx<16;idx++)
pradipv 3:41bdbc9b3cec 1631 {
pradipv 3:41bdbc9b3cec 1632 disp_buff1[idx] = display_buff[idx];
pradipv 3:41bdbc9b3cec 1633 disp_buff2[idx] = display_buff[idx+16];
pradipv 3:41bdbc9b3cec 1634 }
pradipv 3:41bdbc9b3cec 1635
pradipv 3:41bdbc9b3cec 1636 }
pradipv 6:00aabe967e51 1637 void print_string_16x16(Max7219 *p_display, char *s,uint8_t font_type)
pradipv 3:41bdbc9b3cec 1638 {
pradipv 3:41bdbc9b3cec 1639 uint16_t idx=0,idy=0;
pradipv 3:41bdbc9b3cec 1640
pradipv 3:41bdbc9b3cec 1641 while(s[idx] != '\0')
pradipv 3:41bdbc9b3cec 1642 {
pradipv 6:00aabe967e51 1643 print_char_16x16(p_display, (idx*32), s[idx],font_type);
pradipv 3:41bdbc9b3cec 1644 idx++;
pradipv 3:41bdbc9b3cec 1645 wait_ms(200);
pradipv 3:41bdbc9b3cec 1646 }
pradipv 3:41bdbc9b3cec 1647
pradipv 3:41bdbc9b3cec 1648 //Arrange character data in upper and lower row data
pradipv 3:41bdbc9b3cec 1649 for (idy=0;idy<buff_end/32;idy++)
pradipv 3:41bdbc9b3cec 1650 {
pradipv 3:41bdbc9b3cec 1651 for(idx=0;idx<16;idx++)
pradipv 3:41bdbc9b3cec 1652 {
pradipv 3:41bdbc9b3cec 1653 disp_buff1[idx+16*idy] = display_buff[idx+32*idy];
pradipv 3:41bdbc9b3cec 1654 disp_buff2[idx+16*idy] = display_buff[idx+16+32*idy];
pradipv 3:41bdbc9b3cec 1655 }
pradipv 3:41bdbc9b3cec 1656 }
pradipv 3:41bdbc9b3cec 1657
pradipv 3:41bdbc9b3cec 1658 // Clear buffer
pradipv 3:41bdbc9b3cec 1659 for(idx=0;idx<1024;idx++)
pradipv 3:41bdbc9b3cec 1660 display_buff[idx] = 0;
pradipv 3:41bdbc9b3cec 1661
pradipv 3:41bdbc9b3cec 1662 }
pradipv 3:41bdbc9b3cec 1663
pradipv 3:41bdbc9b3cec 1664 //*********************************************************************
pradipv 3:41bdbc9b3cec 1665 void shift_display_right_16x16(Max7219 *p_display, uint8_t count, uint8_t delay)
pradipv 3:41bdbc9b3cec 1666 {
pradipv 3:41bdbc9b3cec 1667 uint16_t idx, idy;
pradipv 3:41bdbc9b3cec 1668 uint8_t position;
pradipv 3:41bdbc9b3cec 1669 int device;
pradipv 3:41bdbc9b3cec 1670
pradipv 3:41bdbc9b3cec 1671 for(idx = 0; idx < count; idx++)
pradipv 3:41bdbc9b3cec 1672 {
pradipv 3:41bdbc9b3cec 1673
pradipv 3:41bdbc9b3cec 1674 for(idy = 0; idy < buff_end/2; idy++)
pradipv 3:41bdbc9b3cec 1675 {
pradipv 3:41bdbc9b3cec 1676 if(idy ==(buff_end/2-1))
pradipv 3:41bdbc9b3cec 1677 {
pradipv 3:41bdbc9b3cec 1678 temp_buff1[0] = disp_buff1[(buff_end/2) - 1];
pradipv 3:41bdbc9b3cec 1679 temp_buff2[0] = disp_buff2[(buff_end/2) - 1];
pradipv 3:41bdbc9b3cec 1680
pradipv 3:41bdbc9b3cec 1681 }
pradipv 3:41bdbc9b3cec 1682 else
pradipv 3:41bdbc9b3cec 1683 {
pradipv 3:41bdbc9b3cec 1684 temp_buff1[idy + 1] = disp_buff1[idy];
pradipv 3:41bdbc9b3cec 1685 temp_buff2[idy + 1] = disp_buff2[idy];
pradipv 3:41bdbc9b3cec 1686 }
pradipv 3:41bdbc9b3cec 1687
pradipv 3:41bdbc9b3cec 1688 }
pradipv 3:41bdbc9b3cec 1689 for(idy = 0; idy < buff_end/2; idy++)
pradipv 3:41bdbc9b3cec 1690 {
pradipv 3:41bdbc9b3cec 1691 disp_buff1[idy] = temp_buff1[idy];
pradipv 3:41bdbc9b3cec 1692 disp_buff2[idy] = temp_buff2[idy];
pradipv 3:41bdbc9b3cec 1693
pradipv 3:41bdbc9b3cec 1694 }
pradipv 3:41bdbc9b3cec 1695 for(idy = 0; idy < 16; idy++)
pradipv 3:41bdbc9b3cec 1696 {
pradipv 3:41bdbc9b3cec 1697 display_buff_16x16[idy] = disp_buff1[idy];
pradipv 3:41bdbc9b3cec 1698 display_buff_16x16[idy+16] = disp_buff2[idy];
pradipv 3:41bdbc9b3cec 1699 }
pradipv 3:41bdbc9b3cec 1700
pradipv 3:41bdbc9b3cec 1701 position = 0;
pradipv 3:41bdbc9b3cec 1702 for(device =1;device<5;device++)
pradipv 3:41bdbc9b3cec 1703 {
pradipv 3:41bdbc9b3cec 1704 for(idy = 0; idy < 8; idy++)
pradipv 3:41bdbc9b3cec 1705 {
pradipv 3:41bdbc9b3cec 1706 p_display->write_digit(device, idy+1,display_buff_16x16[idy+position]);
pradipv 3:41bdbc9b3cec 1707 }
pradipv 3:41bdbc9b3cec 1708 position+=8;
pradipv 3:41bdbc9b3cec 1709 }
pradipv 3:41bdbc9b3cec 1710 wait_ms(delay);
pradipv 3:41bdbc9b3cec 1711 }
pradipv 3:41bdbc9b3cec 1712
pradipv 3:41bdbc9b3cec 1713 }
pradipv 3:41bdbc9b3cec 1714
pradipv 3:41bdbc9b3cec 1715 void shift_display_left_16x16(Max7219 *p_display, uint8_t count, uint8_t delay)
pradipv 3:41bdbc9b3cec 1716 {
pradipv 3:41bdbc9b3cec 1717 uint16_t idx, idy;
pradipv 3:41bdbc9b3cec 1718 uint8_t position;
pradipv 3:41bdbc9b3cec 1719 int device;
pradipv 3:41bdbc9b3cec 1720
pradipv 3:41bdbc9b3cec 1721 for(idx = 0; idx < count; idx++)
pradipv 3:41bdbc9b3cec 1722 {
pradipv 3:41bdbc9b3cec 1723 for(idy = 0; idy < buff_end/2; idy++)
pradipv 3:41bdbc9b3cec 1724 {
pradipv 3:41bdbc9b3cec 1725 if(idy == 0)
pradipv 3:41bdbc9b3cec 1726 {
pradipv 3:41bdbc9b3cec 1727 temp_buff1[buff_end/2-1] = disp_buff1[idy];
pradipv 3:41bdbc9b3cec 1728 temp_buff2[buff_end/2-1] = disp_buff2[idy];
pradipv 3:41bdbc9b3cec 1729
pradipv 3:41bdbc9b3cec 1730 }
pradipv 3:41bdbc9b3cec 1731 else
pradipv 3:41bdbc9b3cec 1732 {
pradipv 3:41bdbc9b3cec 1733 temp_buff1[idy - 1] = disp_buff1[idy];
pradipv 3:41bdbc9b3cec 1734 temp_buff2[idy - 1] = disp_buff2[idy];
pradipv 3:41bdbc9b3cec 1735
pradipv 3:41bdbc9b3cec 1736 }
pradipv 3:41bdbc9b3cec 1737
pradipv 3:41bdbc9b3cec 1738 }
pradipv 3:41bdbc9b3cec 1739 for(idy = 0; idy < buff_end/2; idy++)
pradipv 3:41bdbc9b3cec 1740 {
pradipv 3:41bdbc9b3cec 1741 disp_buff1[idy] = temp_buff1[idy];
pradipv 3:41bdbc9b3cec 1742 disp_buff2[idy] = temp_buff2[idy];
pradipv 3:41bdbc9b3cec 1743
pradipv 3:41bdbc9b3cec 1744 }
pradipv 3:41bdbc9b3cec 1745 for(idy = 0; idy < 16; idy++)
pradipv 3:41bdbc9b3cec 1746 {
pradipv 3:41bdbc9b3cec 1747 display_buff_16x16[idy] = disp_buff1[idy];
pradipv 3:41bdbc9b3cec 1748 display_buff_16x16[idy+16] = disp_buff2[idy];
pradipv 3:41bdbc9b3cec 1749 }
pradipv 3:41bdbc9b3cec 1750 position = 0;
pradipv 3:41bdbc9b3cec 1751 for(device =1;device<5;device++)
pradipv 3:41bdbc9b3cec 1752 {
pradipv 3:41bdbc9b3cec 1753 for(idy = 0; idy < 8; idy++)
pradipv 3:41bdbc9b3cec 1754 {
pradipv 3:41bdbc9b3cec 1755 p_display->write_digit(device, idy+1,display_buff_16x16[idy+position]);
pradipv 3:41bdbc9b3cec 1756 }
pradipv 3:41bdbc9b3cec 1757 position+=8;
pradipv 3:41bdbc9b3cec 1758 }
pradipv 3:41bdbc9b3cec 1759
pradipv 3:41bdbc9b3cec 1760 wait_ms(delay);
pradipv 3:41bdbc9b3cec 1761 }
pradipv 3:41bdbc9b3cec 1762
pradipv 3:41bdbc9b3cec 1763 }
pradipv 3:41bdbc9b3cec 1764
pradipv 3:41bdbc9b3cec 1765 //*********************************************************************
pradipv 6:00aabe967e51 1766 void demo_16x16(Max7219 *display, max7219_configuration_t display_config, uint8_t font_type,bool endless_loop)
pradipv 3:41bdbc9b3cec 1767 {
pradipv 3:41bdbc9b3cec 1768 uint8_t idx = 0;
pradipv 3:41bdbc9b3cec 1769
pradipv 3:41bdbc9b3cec 1770 do
pradipv 3:41bdbc9b3cec 1771 {
pradipv 3:41bdbc9b3cec 1772 all_off(display);
pradipv 3:41bdbc9b3cec 1773
pradipv 3:41bdbc9b3cec 1774 for(idx = 0x20; idx < 0x7F; idx++)
pradipv 3:41bdbc9b3cec 1775 {
pradipv 6:00aabe967e51 1776 print_char_16x16(display, 0, (char) idx,font_type);
pradipv 3:41bdbc9b3cec 1777 wait(0.25);
pradipv 3:41bdbc9b3cec 1778 }
pradipv 3:41bdbc9b3cec 1779
pradipv 3:41bdbc9b3cec 1780 all_on(display);
pradipv 3:41bdbc9b3cec 1781
pradipv 3:41bdbc9b3cec 1782 for(idx = 0; idx < 16; idx++)
pradipv 3:41bdbc9b3cec 1783 {
pradipv 3:41bdbc9b3cec 1784 display_config.intensity = 15 - idx;
pradipv 3:41bdbc9b3cec 1785 display->init_display(display_config);
pradipv 3:41bdbc9b3cec 1786 wait_ms(50);
pradipv 3:41bdbc9b3cec 1787 }
pradipv 3:41bdbc9b3cec 1788
pradipv 3:41bdbc9b3cec 1789 for(idx = 0; idx < 16; idx++)
pradipv 3:41bdbc9b3cec 1790 {
pradipv 3:41bdbc9b3cec 1791 display_config.intensity = idx;
pradipv 3:41bdbc9b3cec 1792 display->init_display(display_config);
pradipv 3:41bdbc9b3cec 1793 wait_ms(100);
pradipv 3:41bdbc9b3cec 1794 }
pradipv 3:41bdbc9b3cec 1795 wait_ms(100);
pradipv 3:41bdbc9b3cec 1796 all_off(display);
pradipv 3:41bdbc9b3cec 1797 wait_ms(100);
pradipv 3:41bdbc9b3cec 1798
pradipv 3:41bdbc9b3cec 1799 all_on(display);
pradipv 3:41bdbc9b3cec 1800 wait_ms(500);
pradipv 6:00aabe967e51 1801 print_char_16x16(display,0,'A',font_type);
pradipv 3:41bdbc9b3cec 1802 wait_ms(500);
pradipv 3:41bdbc9b3cec 1803 shift_display_right_16x16(display, 32, 100);
pradipv 3:41bdbc9b3cec 1804 shift_display_left_16x16(display, 32, 100);
pradipv 3:41bdbc9b3cec 1805 all_off(display);
pradipv 3:41bdbc9b3cec 1806 wait_ms(100);
pradipv 3:41bdbc9b3cec 1807
pradipv 6:00aabe967e51 1808 print_string_16x16(display, "Maxim",font_type);
pradipv 3:41bdbc9b3cec 1809 wait_ms(500);
pradipv 3:41bdbc9b3cec 1810 shift_display_right_16x16(display, 32, 100);
pradipv 3:41bdbc9b3cec 1811 shift_display_left_16x16(display, 32, 100);
pradipv 3:41bdbc9b3cec 1812 wait_ms(100);
pradipv 3:41bdbc9b3cec 1813 }
pradipv 3:41bdbc9b3cec 1814 while(endless_loop);
pradipv 3:41bdbc9b3cec 1815 }
pradipv 3:41bdbc9b3cec 1816
pradipv 3:41bdbc9b3cec 1817 //*********************************************************************
pradipv 3:41bdbc9b3cec 1818 void endless_scroll_display_16x16(Max7219 *display, uint32_t scroll_right)
pradipv 3:41bdbc9b3cec 1819 {
pradipv 3:41bdbc9b3cec 1820 if(scroll_right)
pradipv 3:41bdbc9b3cec 1821 {
pradipv 3:41bdbc9b3cec 1822 printf("\nScrolling Right\n");
pradipv 3:41bdbc9b3cec 1823 while(1)
pradipv 3:41bdbc9b3cec 1824 {
pradipv 3:41bdbc9b3cec 1825 shift_display_right_16x16(display, 1, 100);
pradipv 3:41bdbc9b3cec 1826 }
pradipv 3:41bdbc9b3cec 1827 }
pradipv 3:41bdbc9b3cec 1828 else
pradipv 3:41bdbc9b3cec 1829 {
pradipv 3:41bdbc9b3cec 1830 printf("\nScrolling Left\n");
pradipv 3:41bdbc9b3cec 1831 while(1)
pradipv 3:41bdbc9b3cec 1832 {
pradipv 3:41bdbc9b3cec 1833 shift_display_left_16x16(display, 1, 100);
pradipv 3:41bdbc9b3cec 1834 }
pradipv 3:41bdbc9b3cec 1835 }
pradipv 3:41bdbc9b3cec 1836 }
j3 0:6b0161c3e440 1837
j3 0:6b0161c3e440 1838 //*********************************************************************
j3 0:6b0161c3e440 1839 uint32_t print_menu(void)
j3 0:6b0161c3e440 1840 {
j3 0:6b0161c3e440 1841 uint32_t user_input;
j3 0:6b0161c3e440 1842
j3 0:6b0161c3e440 1843 printf("\nPlease select an option below:\n");
pradipv 3:41bdbc9b3cec 1844 printf("%t1. Select font\n");
pradipv 3:41bdbc9b3cec 1845 printf("%t2. Set Brightness\n");
pradipv 3:41bdbc9b3cec 1846 printf("%t3. Print a character to given position\n");
pradipv 3:41bdbc9b3cec 1847 printf("%t4. Print a string to position\n");
pradipv 3:41bdbc9b3cec 1848 printf("%t5. Shift display given number of position and direction\n");
pradipv 3:41bdbc9b3cec 1849 printf("%t6. Clear display\n");
pradipv 3:41bdbc9b3cec 1850 printf("%t7. Run the Demo Routine\n");
j3 0:6b0161c3e440 1851 printf("%t8. Scroll Display In Endless Loop, left or right\n");
j3 0:6b0161c3e440 1852 printf("%t9. Quit\n\n");
j3 0:6b0161c3e440 1853
j3 0:6b0161c3e440 1854 user_input = get_user_input(NULL, 9);
j3 0:6b0161c3e440 1855
j3 0:6b0161c3e440 1856 return(user_input);
j3 0:6b0161c3e440 1857 }
j3 0:6b0161c3e440 1858
j3 0:6b0161c3e440 1859
j3 0:6b0161c3e440 1860 //*********************************************************************
j3 0:6b0161c3e440 1861 uint32_t get_user_input(char *msg, uint32_t max_val)
j3 0:6b0161c3e440 1862 {
j3 0:6b0161c3e440 1863 uint32_t user_input;
j3 0:6b0161c3e440 1864
j3 0:6b0161c3e440 1865 do
j3 0:6b0161c3e440 1866 {
j3 0:6b0161c3e440 1867 printf(msg);
j3 0:6b0161c3e440 1868
j3 0:6b0161c3e440 1869 //get user input
j3 0:6b0161c3e440 1870 fgets(str, MAX_STRING_LENGTH, stdin);
pradipv 3:41bdbc9b3cec 1871
j3 0:6b0161c3e440 1872 //Remove trailing newline and CR, if there.
j3 0:6b0161c3e440 1873 if((strlen(str) > 0 ) && (str[strlen(str) - 1] == 0x0A) && (str[strlen(str) - 2] == 0x0D))
j3 0:6b0161c3e440 1874 {
j3 0:6b0161c3e440 1875 str[strlen(str) - 1] = '\0';
j3 0:6b0161c3e440 1876 str[strlen(str) - 1] = '\0';
j3 0:6b0161c3e440 1877 }
j3 0:6b0161c3e440 1878
j3 0:6b0161c3e440 1879 user_input = strtoul(str, NULL, 0);
j3 0:6b0161c3e440 1880
j3 0:6b0161c3e440 1881 printf("\nYou entered = %d\n", user_input);
j3 0:6b0161c3e440 1882
j3 0:6b0161c3e440 1883 if(user_input > max_val)
j3 0:6b0161c3e440 1884 {
j3 0:6b0161c3e440 1885 printf("\nOut of range\n");
j3 0:6b0161c3e440 1886 }
j3 0:6b0161c3e440 1887
j3 0:6b0161c3e440 1888 }
j3 0:6b0161c3e440 1889 while(user_input > max_val);
j3 0:6b0161c3e440 1890
j3 0:6b0161c3e440 1891 return(user_input);
j3 0:6b0161c3e440 1892 }
j3 0:6b0161c3e440 1893
j3 0:6b0161c3e440 1894
j3 0:6b0161c3e440 1895 //*********************************************************************
j3 0:6b0161c3e440 1896 char get_user_char(char *msg)
j3 0:6b0161c3e440 1897 {
j3 0:6b0161c3e440 1898
j3 0:6b0161c3e440 1899 do
j3 0:6b0161c3e440 1900 {
j3 0:6b0161c3e440 1901 printf(msg);
j3 0:6b0161c3e440 1902
j3 0:6b0161c3e440 1903 //get user input
pradipv 3:41bdbc9b3cec 1904 fflush(stdin);
j3 2:9fdd01cf0f88 1905 fgets(str, 4, stdin);
pradipv 3:41bdbc9b3cec 1906 fflush(stdin);
j3 0:6b0161c3e440 1907 //Remove trailing newline and CR, if there.
j3 0:6b0161c3e440 1908 if((strlen(str) > 0 ) && (str[strlen(str) - 1] == 0x0A) && (str[strlen(str) - 2] == 0x0D))
j3 0:6b0161c3e440 1909 {
j3 0:6b0161c3e440 1910 str[strlen(str) - 1] = '\0';
j3 0:6b0161c3e440 1911 str[strlen(str) - 1] = '\0';
j3 0:6b0161c3e440 1912 }
j3 0:6b0161c3e440 1913
j3 0:6b0161c3e440 1914 printf("\nYou entered = %c\n", str[0]);
j3 0:6b0161c3e440 1915
j3 0:6b0161c3e440 1916 if((str[0] < 0x20) || (str[0] > 0x7E))
j3 0:6b0161c3e440 1917 {
j3 0:6b0161c3e440 1918 printf("\nOut of range\n");
j3 0:6b0161c3e440 1919 }
j3 0:6b0161c3e440 1920 }
j3 0:6b0161c3e440 1921 while((str[0] < 0x20) || (str[0] > 0x7E));
j3 0:6b0161c3e440 1922
j3 0:6b0161c3e440 1923 return(str[0]);
j3 0:6b0161c3e440 1924 }
j3 0:6b0161c3e440 1925
j3 0:6b0161c3e440 1926
j3 0:6b0161c3e440 1927 //*********************************************************************
j3 0:6b0161c3e440 1928 char * get_user_string(char *msg)
j3 0:6b0161c3e440 1929 {
j3 0:6b0161c3e440 1930 printf(msg);
j3 0:6b0161c3e440 1931 //get user input
j3 0:6b0161c3e440 1932 fgets(str, MAX_STRING_LENGTH, stdin);
j3 0:6b0161c3e440 1933 //Remove trailing newline and CR, if there.
j3 0:6b0161c3e440 1934 if((strlen(str) > 0 ) && (str[strlen(str) - 1] == 0x0A) && (str[strlen(str) - 2] == 0x0D))
j3 0:6b0161c3e440 1935 {
j3 0:6b0161c3e440 1936 str[strlen(str) - 1] = '\0';
j3 0:6b0161c3e440 1937 str[strlen(str) - 1] = '\0';
j3 0:6b0161c3e440 1938 }
j3 0:6b0161c3e440 1939
j3 0:6b0161c3e440 1940 return(str);
j3 0:6b0161c3e440 1941 }
j3 0:6b0161c3e440 1942
pradipv 3:41bdbc9b3cec 1943