Modifications on NeoMatrix library to fit the recent Mbed system

Dependents:   4180_final_project_github

Committer:
oscargao
Date:
Wed Dec 02 18:17:05 2020 +0000
Revision:
4:f5c7124c262f
Parent:
3:9a2779957e46
made it work

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tpowell33 3:9a2779957e46 1 /**********************************************
tpowell33 3:9a2779957e46 2 * font.h
tpowell33 3:9a2779957e46 3 *
tpowell33 3:9a2779957e46 4 * Taylor Powell
tpowell33 3:9a2779957e46 5 * March 2015
tpowell33 3:9a2779957e46 6 *
tpowell33 3:9a2779957e46 7 * font used is the free BMplain, which can be replaced with any 6x8 font array
tpowell33 3:9a2779957e46 8 */
tpowell33 3:9a2779957e46 9
tpowell33 3:9a2779957e46 10 const unsigned char font[96][6] = {
tpowell33 3:9a2779957e46 11 {0x00,0x00,0x00,0x00,0x00,0x00}, //
tpowell33 3:9a2779957e46 12 {0x2e,0x00,0x00,0x00,0x00,0x00}, // !
tpowell33 3:9a2779957e46 13 {0x03,0x00,0x03,0x00,0x00,0x00}, // "
tpowell33 3:9a2779957e46 14 {0x0a,0x1f,0x0a,0x1f,0x0a,0x00}, // #
tpowell33 3:9a2779957e46 15 {0x2e,0x2a,0x6b,0x2a,0x3a,0x00}, // $
tpowell33 3:9a2779957e46 16 {0x0e,0x2a,0x1e,0x08,0x3c,0x2a}, // %
tpowell33 3:9a2779957e46 17 {0x3e,0x2a,0x2a,0x22,0x38,0x08}, // &
tpowell33 3:9a2779957e46 18 {0x03,0x00,0x00,0x00,0x00,0x00}, // '
tpowell33 3:9a2779957e46 19 {0x1c,0x22,0x00,0x00,0x00,0x00}, // (
tpowell33 3:9a2779957e46 20 {0x22,0x1c,0x00,0x00,0x00,0x00}, // )
tpowell33 3:9a2779957e46 21 {0x15,0x0e,0x04,0x0e,0x15,0x00}, // *
tpowell33 3:9a2779957e46 22 {0x08,0x08,0x3e,0x08,0x08,0x00}, // +
tpowell33 3:9a2779957e46 23 {0x60,0x00,0x00,0x00,0x00,0x00}, // ,
tpowell33 3:9a2779957e46 24 {0x08,0x08,0x08,0x08,0x08,0x00}, // -
tpowell33 3:9a2779957e46 25 {0x20,0x00,0x00,0x00,0x00,0x00}, // .
tpowell33 3:9a2779957e46 26 {0x20,0x10,0x08,0x04,0x02,0x00}, // /
tpowell33 3:9a2779957e46 27 {0x3e,0x22,0x2a,0x22,0x3e,0x00}, // 0
tpowell33 3:9a2779957e46 28 {0x04,0x3e,0x00,0x00,0x00,0x00}, // 1
tpowell33 3:9a2779957e46 29 {0x3a,0x2a,0x2a,0x2a,0x2e,0x00}, // 2
tpowell33 3:9a2779957e46 30 {0x2a,0x2a,0x2a,0x2a,0x3e,0x00}, // 3
tpowell33 3:9a2779957e46 31 {0x0e,0x08,0x08,0x08,0x3e,0x00}, // 4
tpowell33 3:9a2779957e46 32 {0x2e,0x2a,0x2a,0x2a,0x3a,0x00}, // 5
tpowell33 3:9a2779957e46 33 {0x3e,0x2a,0x2a,0x2a,0x3a,0x00}, // 6
tpowell33 3:9a2779957e46 34 {0x02,0x02,0x02,0x02,0x3e,0x00}, // 7
tpowell33 3:9a2779957e46 35 {0x3e,0x2a,0x2a,0x2a,0x3e,0x00}, // 8
tpowell33 3:9a2779957e46 36 {0x2e,0x2a,0x2a,0x2a,0x3e,0x00}, // 9
tpowell33 3:9a2779957e46 37 {0x14,0x00,0x00,0x00,0x00,0x00}, // :
tpowell33 3:9a2779957e46 38 {0x34,0x00,0x00,0x00,0x00,0x00}, // ;
tpowell33 3:9a2779957e46 39 {0x08,0x14,0x22,0x00,0x00,0x00}, // <
tpowell33 3:9a2779957e46 40 {0x14,0x14,0x14,0x14,0x14,0x00}, // =
tpowell33 3:9a2779957e46 41 {0x22,0x14,0x08,0x00,0x00,0x00}, // >
tpowell33 3:9a2779957e46 42 {0x06,0x02,0x2a,0x0a,0x0e,0x00}, // ?
tpowell33 3:9a2779957e46 43 {0x3e,0x02,0x3a,0x2a,0x3e,0x00}, // @
tpowell33 3:9a2779957e46 44 {0x3e,0x12,0x12,0x12,0x3e,0x00}, // A
tpowell33 3:9a2779957e46 45 {0x3e,0x2a,0x2a,0x2a,0x36,0x00}, // B
tpowell33 3:9a2779957e46 46 {0x3e,0x22,0x22,0x22,0x22,0x00}, // C
tpowell33 3:9a2779957e46 47 {0x3e,0x22,0x22,0x22,0x1c,0x00}, // D
tpowell33 3:9a2779957e46 48 {0x3e,0x2a,0x2a,0x2a,0x22,0x00}, // E
tpowell33 3:9a2779957e46 49 {0x3e,0x0a,0x0a,0x0a,0x02,0x00}, // F
tpowell33 3:9a2779957e46 50 {0x3e,0x22,0x2a,0x2a,0x3a,0x00}, // G
tpowell33 3:9a2779957e46 51 {0x3e,0x08,0x08,0x08,0x3e,0x00}, // H
tpowell33 3:9a2779957e46 52 {0x22,0x3e,0x22,0x00,0x00,0x00}, // I
tpowell33 3:9a2779957e46 53 {0x38,0x20,0x20,0x20,0x3e,0x00}, // J
tpowell33 3:9a2779957e46 54 {0x3e,0x08,0x08,0x14,0x22,0x00}, // K
tpowell33 3:9a2779957e46 55 {0x3e,0x20,0x20,0x20,0x20,0x00}, // L
tpowell33 3:9a2779957e46 56 {0x3e,0x04,0x38,0x04,0x3e,0x00}, // M
tpowell33 3:9a2779957e46 57 {0x3e,0x04,0x08,0x10,0x3e,0x00}, // N
tpowell33 3:9a2779957e46 58 {0x3e,0x22,0x22,0x22,0x3e,0x00}, // O
tpowell33 3:9a2779957e46 59 {0x3e,0x0a,0x0a,0x0a,0x0e,0x00}, // P
tpowell33 3:9a2779957e46 60 {0x3e,0x22,0x72,0x22,0x3e,0x00}, // Q
tpowell33 3:9a2779957e46 61 {0x3e,0x0a,0x0a,0x1a,0x2e,0x00}, // R
tpowell33 3:9a2779957e46 62 {0x2e,0x2a,0x2a,0x2a,0x3a,0x00}, // S
tpowell33 3:9a2779957e46 63 {0x02,0x02,0x3e,0x02,0x02,0x00}, // T
tpowell33 3:9a2779957e46 64 {0x1e,0x20,0x20,0x20,0x1e,0x00}, // U
tpowell33 3:9a2779957e46 65 {0x0e,0x10,0x20,0x10,0x0e,0x00}, // V
tpowell33 3:9a2779957e46 66 {0x3e,0x10,0x0e,0x10,0x3e,0x00}, // W
tpowell33 3:9a2779957e46 67 {0x22,0x14,0x08,0x14,0x22,0x00}, // X
tpowell33 3:9a2779957e46 68 {0x02,0x04,0x38,0x04,0x02,0x00}, // Y
tpowell33 3:9a2779957e46 69 {0x3a,0x2a,0x2a,0x2a,0x2e,0x00}, // Z
tpowell33 3:9a2779957e46 70 {0x3e,0x22,0x00,0x00,0x00,0x00}, // [
tpowell33 3:9a2779957e46 71 {0x3f,0x21,0x3f,0x00,0x00,0x00}, // "\"
tpowell33 3:9a2779957e46 72 {0x22,0x3e,0x00,0x00,0x00,0x00}, // ]
tpowell33 3:9a2779957e46 73 {0x0c,0x1e,0x3c,0x1e,0x0c,0x00}, // ^
tpowell33 3:9a2779957e46 74 {0x20,0x20,0x20,0x20,0x20,0x00}, // _
tpowell33 3:9a2779957e46 75 {0x1c,0x3e,0x3e,0x3e,0x1c,0x00}, // `
tpowell33 3:9a2779957e46 76 {0x3c,0x24,0x24,0x24,0x3c,0x20}, // a
tpowell33 3:9a2779957e46 77 {0x3e,0x24,0x24,0x24,0x3c,0x00}, // b
tpowell33 3:9a2779957e46 78 {0x3c,0x24,0x24,0x24,0x24,0x00}, // c
tpowell33 3:9a2779957e46 79 {0x3c,0x24,0x24,0x24,0x3e,0x00}, // d
tpowell33 3:9a2779957e46 80 {0x3c,0x24,0x34,0x2c,0x24,0x00}, // e
tpowell33 3:9a2779957e46 81 {0x08,0x3e,0x0a,0x0a,0x00,0x00}, // f
tpowell33 3:9a2779957e46 82 {0x1c,0x54,0x54,0x54,0x7c,0x00}, // g
tpowell33 3:9a2779957e46 83 {0x3e,0x04,0x04,0x04,0x3c,0x00}, // h
tpowell33 3:9a2779957e46 84 {0x3a,0x00,0x00,0x00,0x00,0x00}, // i
tpowell33 3:9a2779957e46 85 {0x20,0x40,0x7a,0x00,0x00,0x00}, // j
tpowell33 3:9a2779957e46 86 {0x3e,0x08,0x14,0x22,0x00,0x00}, // k
tpowell33 3:9a2779957e46 87 {0x02,0x3e,0x00,0x00,0x00,0x00}, // l
tpowell33 3:9a2779957e46 88 {0x3c,0x04,0x3c,0x04,0x3c,0x00}, // m
tpowell33 3:9a2779957e46 89 {0x3c,0x04,0x04,0x04,0x3c,0x00}, // n
tpowell33 3:9a2779957e46 90 {0x3c,0x24,0x24,0x24,0x3c,0x00}, // o
tpowell33 3:9a2779957e46 91 {0x7c,0x24,0x24,0x24,0x3c,0x00}, // p
tpowell33 3:9a2779957e46 92 {0x3c,0x24,0x24,0x24,0x7c,0x00}, // q
tpowell33 3:9a2779957e46 93 {0x3c,0x04,0x04,0x04,0x00,0x00}, // r
tpowell33 3:9a2779957e46 94 {0x24,0x2c,0x34,0x24,0x00,0x00}, // s
tpowell33 3:9a2779957e46 95 {0x04,0x3e,0x24,0x24,0x00,0x00}, // t
tpowell33 3:9a2779957e46 96 {0x3c,0x20,0x20,0x20,0x3c,0x00}, // u
tpowell33 3:9a2779957e46 97 {0x0c,0x10,0x20,0x10,0x0c,0x00}, // v
tpowell33 3:9a2779957e46 98 {0x3c,0x20,0x3c,0x20,0x3c,0x00}, // w
tpowell33 3:9a2779957e46 99 {0x24,0x24,0x18,0x24,0x24,0x00}, // x
tpowell33 3:9a2779957e46 100 {0x1c,0x50,0x50,0x50,0x7c,0x00}, // y
tpowell33 3:9a2779957e46 101 {0x24,0x34,0x2c,0x24,0x00,0x00}, // z
tpowell33 3:9a2779957e46 102 {0x08,0x3e,0x22,0x00,0x00,0x00}, // {
tpowell33 3:9a2779957e46 103 {0x1c,0x22,0x22,0x22,0x1c,0x00}, // |
tpowell33 3:9a2779957e46 104 {0x22,0x3e,0x08,0x00,0x00,0x00}, // }
tpowell33 3:9a2779957e46 105 {0x01,0x01,0x01,0x00,0x00,0x00}, // ~
tpowell33 3:9a2779957e46 106 {0x00,0x00,0x00,0x00,0x00,0x00}
tpowell33 3:9a2779957e46 107 };