Skip to content

Instantly share code, notes, and snippets.

@houmei
Created February 18, 2016 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save houmei/50bd6e7c56b60480f6e7 to your computer and use it in GitHub Desktop.
Save houmei/50bd6e7c56b60480f6e7 to your computer and use it in GitHub Desktop.
HITACHI H68/TR 7segment font data
#define BYOD_FONT 64
const uint8_t BYOD_LEDFONT[BYOD_FONT] = { // segment order: abcdefg.
0xfc, // B11111100, // 0
0x60, // B01100000, // 1
0xda, // B11011010, // 2
0xf2, // B11110010, // 3
0x66, // B01100110, // 4
0xb6, // B10110110, // 5
0xbe, // B10111110, // 6
0xe4, // B11100100, // 7
0xfe, // B11111110, // 8
0xf6, // B11110110, // 9
0xee, // B11101110, // A
0x3e, // B00111110, // B
0x9c, // B10011100, // C
0x7a, // B01111010, // D
0x9e, // B10011110, // E
0x8e, // B10001110, // F
0xbc, // B10111100, // G
0x6e, // B01101110, // H
0x98, // B10011000, // I
0x78, // B01111000, // J
0x5e, // B01011110, // K
0x1c, // B00011100, // L
0xaa, // B10101010, // M
0x2a, // B00101010, // N
0xba, // B10111010, // O
0xce, // B11001110, // P
0xe6, // B11100110, // Q
0x0e, // B00001110, // R
0x36, // B00110110, // S
0x8c, // B10001100, // T
0x7c, // B01111100, // U
0x7e, // B01111110, // V
0xb8, // B10111000, // W
0x56, // B01010110, // X
0x76, // B01110110, // Y
0x92, // B10010010, // Z
0xb4, // B10110100, // #
0x30, // B00110000, // ,
0x26, // B00100110, // $
0x4a, // B01001010, // /
0x40, // B01000000, // '
0x1a, // B00011010, // (
0x32, // B00110010, // )
0x62, // B01100010, // +
0x02, // B00000010, // -
0x28, // B00101000, // *
0x01, // B00000001, // .
0x12, // B00010010, // =
0xfa, // B11111010, // @
0xca, // B11001010, // ?
0x44, // B01000100, // "
0x90, // B10010000, // :
0xb0, // B10110000, // ;
0x14, // B00010100, // !
0x24, // B00100100, // %
0xd6, // B11010110, // &
0x9a, // B10011010, // <
0xb2, // B10110010, // >
0x86, // B10000110, // [
0xc2, // B11000010, // ]
0x06, // B00000110, // "\"
0x04, // B00000100, // UpperArrow
0x80, // B10000000, // LeftArrow
0x00 // B00000000 // " "
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment