128x64 grafical display with KS0107B and KS0108B controller

Committer:
hornfeldt
Date:
Wed Feb 10 14:47:58 2010 +0000
Revision:
1:1d06bc155ef3
Parent:
0:45771b38d50d

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hornfeldt 1:1d06bc155ef3 1 #ifndef FONT_H
hornfeldt 1:1d06bc155ef3 2 #define FONT_H
hornfeldt 0:45771b38d50d 3 // (c) Radosław Kwiecień - http://en.radzio.dxp.pl/ks0108/
hornfeldt 0:45771b38d50d 4 static const char font5x8[] = {
hornfeldt 0:45771b38d50d 5 0x00, 0x00, 0x00, 0x00, 0x00,// (spacja)
hornfeldt 0:45771b38d50d 6 0x00, 0x00, 0x5F, 0x00, 0x00,// !
hornfeldt 0:45771b38d50d 7 0x00, 0x07, 0x00, 0x07, 0x00,// "
hornfeldt 0:45771b38d50d 8 0x14, 0x7F, 0x14, 0x7F, 0x14,// #
hornfeldt 0:45771b38d50d 9 0x24, 0x2A, 0x7F, 0x2A, 0x12,// $
hornfeldt 0:45771b38d50d 10 0x23, 0x13, 0x08, 0x64, 0x62,// %
hornfeldt 0:45771b38d50d 11 0x36, 0x49, 0x55, 0x22, 0x50,// &
hornfeldt 0:45771b38d50d 12 0x00, 0x05, 0x03, 0x00, 0x00,// '
hornfeldt 0:45771b38d50d 13 0x00, 0x1C, 0x22, 0x41, 0x00,// (
hornfeldt 0:45771b38d50d 14 0x00, 0x41, 0x22, 0x1C, 0x00,// )
hornfeldt 0:45771b38d50d 15 0x08, 0x2A, 0x1C, 0x2A, 0x08,// *
hornfeldt 0:45771b38d50d 16 0x08, 0x08, 0x3E, 0x08, 0x08,// +
hornfeldt 0:45771b38d50d 17 0x00, 0x50, 0x30, 0x00, 0x00,// ,
hornfeldt 0:45771b38d50d 18 0x08, 0x08, 0x08, 0x08, 0x08,// -
hornfeldt 0:45771b38d50d 19 0x00, 0x30, 0x30, 0x00, 0x00,// .
hornfeldt 0:45771b38d50d 20 0x20, 0x10, 0x08, 0x04, 0x02,// /
hornfeldt 0:45771b38d50d 21 0x3E, 0x51, 0x49, 0x45, 0x3E,// 0
hornfeldt 0:45771b38d50d 22 0x00, 0x42, 0x7F, 0x40, 0x00,// 1
hornfeldt 0:45771b38d50d 23 0x42, 0x61, 0x51, 0x49, 0x46,// 2
hornfeldt 0:45771b38d50d 24 0x21, 0x41, 0x45, 0x4B, 0x31,// 3
hornfeldt 0:45771b38d50d 25 0x18, 0x14, 0x12, 0x7F, 0x10,// 4
hornfeldt 0:45771b38d50d 26 0x27, 0x45, 0x45, 0x45, 0x39,// 5
hornfeldt 0:45771b38d50d 27 0x3C, 0x4A, 0x49, 0x49, 0x30,// 6
hornfeldt 0:45771b38d50d 28 0x01, 0x71, 0x09, 0x05, 0x03,// 7
hornfeldt 0:45771b38d50d 29 0x36, 0x49, 0x49, 0x49, 0x36,// 8
hornfeldt 0:45771b38d50d 30 0x06, 0x49, 0x49, 0x29, 0x1E,// 9
hornfeldt 0:45771b38d50d 31 0x00, 0x36, 0x36, 0x00, 0x00,// :
hornfeldt 0:45771b38d50d 32 0x00, 0x56, 0x36, 0x00, 0x00,// ;
hornfeldt 0:45771b38d50d 33 0x00, 0x08, 0x14, 0x22, 0x41,// <
hornfeldt 0:45771b38d50d 34 0x14, 0x14, 0x14, 0x14, 0x14,// =
hornfeldt 0:45771b38d50d 35 0x41, 0x22, 0x14, 0x08, 0x00,// >
hornfeldt 0:45771b38d50d 36 0x02, 0x01, 0x51, 0x09, 0x06,// ?
hornfeldt 0:45771b38d50d 37 0x32, 0x49, 0x79, 0x41, 0x3E,// @
hornfeldt 0:45771b38d50d 38 0x7E, 0x11, 0x11, 0x11, 0x7E,// A
hornfeldt 0:45771b38d50d 39 0x7F, 0x49, 0x49, 0x49, 0x36,// B
hornfeldt 0:45771b38d50d 40 0x3E, 0x41, 0x41, 0x41, 0x22,// C
hornfeldt 0:45771b38d50d 41 0x7F, 0x41, 0x41, 0x22, 0x1C,// D
hornfeldt 0:45771b38d50d 42 0x7F, 0x49, 0x49, 0x49, 0x41,// E
hornfeldt 0:45771b38d50d 43 0x7F, 0x09, 0x09, 0x01, 0x01,// F
hornfeldt 0:45771b38d50d 44 0x3E, 0x41, 0x41, 0x51, 0x32,// G
hornfeldt 0:45771b38d50d 45 0x7F, 0x08, 0x08, 0x08, 0x7F,// H
hornfeldt 0:45771b38d50d 46 0x00, 0x41, 0x7F, 0x41, 0x00,// I
hornfeldt 0:45771b38d50d 47 0x20, 0x40, 0x41, 0x3F, 0x01,// J
hornfeldt 0:45771b38d50d 48 0x7F, 0x08, 0x14, 0x22, 0x41,// K
hornfeldt 0:45771b38d50d 49 0x7F, 0x40, 0x40, 0x40, 0x40,// L
hornfeldt 0:45771b38d50d 50 0x7F, 0x02, 0x04, 0x02, 0x7F,// M
hornfeldt 0:45771b38d50d 51 0x7F, 0x04, 0x08, 0x10, 0x7F,// N
hornfeldt 0:45771b38d50d 52 0x3E, 0x41, 0x41, 0x41, 0x3E,// O
hornfeldt 0:45771b38d50d 53 0x7F, 0x09, 0x09, 0x09, 0x06,// P
hornfeldt 0:45771b38d50d 54 0x3E, 0x41, 0x51, 0x21, 0x5E,// Q
hornfeldt 0:45771b38d50d 55 0x7F, 0x09, 0x19, 0x29, 0x46,// R
hornfeldt 0:45771b38d50d 56 0x46, 0x49, 0x49, 0x49, 0x31,// S
hornfeldt 0:45771b38d50d 57 0x01, 0x01, 0x7F, 0x01, 0x01,// T
hornfeldt 0:45771b38d50d 58 0x3F, 0x40, 0x40, 0x40, 0x3F,// U
hornfeldt 0:45771b38d50d 59 0x1F, 0x20, 0x40, 0x20, 0x1F,// V
hornfeldt 0:45771b38d50d 60 0x7F, 0x20, 0x18, 0x20, 0x7F,// W
hornfeldt 0:45771b38d50d 61 0x63, 0x14, 0x08, 0x14, 0x63,// X
hornfeldt 0:45771b38d50d 62 0x03, 0x04, 0x78, 0x04, 0x03,// Y
hornfeldt 0:45771b38d50d 63 0x61, 0x51, 0x49, 0x45, 0x43,// Z
hornfeldt 0:45771b38d50d 64 0x00, 0x00, 0x7F, 0x41, 0x41,// [
hornfeldt 0:45771b38d50d 65 0x02, 0x04, 0x08, 0x10, 0x20,// "\"
hornfeldt 0:45771b38d50d 66 0x41, 0x41, 0x7F, 0x00, 0x00,// ]
hornfeldt 0:45771b38d50d 67 0x04, 0x02, 0x01, 0x02, 0x04,// ^
hornfeldt 0:45771b38d50d 68 0x40, 0x40, 0x40, 0x40, 0x40,// _
hornfeldt 0:45771b38d50d 69 0x00, 0x01, 0x02, 0x04, 0x00,// `
hornfeldt 0:45771b38d50d 70 0x20, 0x54, 0x54, 0x54, 0x78,// a
hornfeldt 0:45771b38d50d 71 0x7F, 0x48, 0x44, 0x44, 0x38,// b
hornfeldt 0:45771b38d50d 72 0x38, 0x44, 0x44, 0x44, 0x20,// c
hornfeldt 0:45771b38d50d 73 0x38, 0x44, 0x44, 0x48, 0x7F,// d
hornfeldt 0:45771b38d50d 74 0x38, 0x54, 0x54, 0x54, 0x18,// e
hornfeldt 0:45771b38d50d 75 0x08, 0x7E, 0x09, 0x01, 0x02,// f
hornfeldt 0:45771b38d50d 76 0x08, 0x14, 0x54, 0x54, 0x3C,// g
hornfeldt 0:45771b38d50d 77 0x7F, 0x08, 0x04, 0x04, 0x78,// h
hornfeldt 0:45771b38d50d 78 0x00, 0x44, 0x7D, 0x40, 0x00,// i
hornfeldt 0:45771b38d50d 79 0x20, 0x40, 0x44, 0x3D, 0x00,// j
hornfeldt 0:45771b38d50d 80 0x00, 0x7F, 0x10, 0x28, 0x44,// k
hornfeldt 0:45771b38d50d 81 0x00, 0x41, 0x7F, 0x40, 0x00,// l
hornfeldt 0:45771b38d50d 82 0x7C, 0x04, 0x18, 0x04, 0x78,// m
hornfeldt 0:45771b38d50d 83 0x7C, 0x08, 0x04, 0x04, 0x78,// n
hornfeldt 0:45771b38d50d 84 0x38, 0x44, 0x44, 0x44, 0x38,// o
hornfeldt 0:45771b38d50d 85 0x7C, 0x14, 0x14, 0x14, 0x08,// p
hornfeldt 0:45771b38d50d 86 0x08, 0x14, 0x14, 0x18, 0x7C,// q
hornfeldt 0:45771b38d50d 87 0x7C, 0x08, 0x04, 0x04, 0x08,// r
hornfeldt 0:45771b38d50d 88 0x48, 0x54, 0x54, 0x54, 0x20,// s
hornfeldt 0:45771b38d50d 89 0x04, 0x3F, 0x44, 0x40, 0x20,// t
hornfeldt 0:45771b38d50d 90 0x3C, 0x40, 0x40, 0x20, 0x7C,// u
hornfeldt 0:45771b38d50d 91 0x1C, 0x20, 0x40, 0x20, 0x1C,// v
hornfeldt 0:45771b38d50d 92 0x3C, 0x40, 0x30, 0x40, 0x3C,// w
hornfeldt 0:45771b38d50d 93 0x44, 0x28, 0x10, 0x28, 0x44,// x
hornfeldt 0:45771b38d50d 94 0x0C, 0x50, 0x50, 0x50, 0x3C,// y
hornfeldt 0:45771b38d50d 95 0x44, 0x64, 0x54, 0x4C, 0x44,// z
hornfeldt 0:45771b38d50d 96 0x00, 0x08, 0x36, 0x41, 0x00,// {
hornfeldt 0:45771b38d50d 97 0x00, 0x00, 0x7F, 0x00, 0x00,// |
hornfeldt 0:45771b38d50d 98 0x00, 0x41, 0x36, 0x08, 0x00,// }
hornfeldt 0:45771b38d50d 99 0x08, 0x08, 0x2A, 0x1C, 0x08,// ->
hornfeldt 0:45771b38d50d 100 0x08, 0x1C, 0x2A, 0x08, 0x08 // <-
hornfeldt 1:1d06bc155ef3 101 };
hornfeldt 1:1d06bc155ef3 102 #endif