ks0713 SPI library. This library includes a small 5x5 ascii font and line function.

Revision:
0:7b044b89e49c
Child:
1:408627d73aa8
diff -r 000000000000 -r 7b044b89e49c font5x5.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/font5x5.h	Sun Feb 26 15:52:10 2012 +0000
@@ -0,0 +1,113 @@
+/*
+ *  font5x5.h
+ *
+ * Created: 2012/02/05 1:50:12
+ *  Author: muraguchi
+ */ 
+
+
+#ifndef FONT5X5_H_
+#define FONT5X5_H_
+
+const unsigned char font5x5[95][5]=
+{
+    {0x00,0x00,0x00,0x00,0x00}, // 0x20 ' ' 
+    {0x00,0x00,0x17,0x00,0x00}, // 0x21 '!'
+    {0x00,0x02,0x00,0x02,0x00}, // 0x22 '"'    
+    {0x0A,0x1F,0x0A,0x1F,0x0A}, // 0x23 '#'
+    {0x17,0x15,0x1F,0x15,0x1D}, // 0x24 '$'
+    {0x11,0x08,0x04,0x02,0x11}, // 0x25 '%'
+    {0x0A,0x15,0x15,0x0A,0x14}, // 0x26 '&'
+    {0x00,0x00,0x02,0x00,0x00}, // 0x27 '''
+    {0x00,0x0E,0x11,0x00,0x00}, // 0x28 '('
+    {0x00,0x00,0x11,0x0E,0x00}, // 0x29 ')'
+    {0x11,0x0A,0x1F,0x0A,0x11}, // 0x2A '*'
+    {0x04,0x04,0x1F,0x04,0x04}, // 0x2B '+' 
+    {0x00,0x00,0x10,0x10,0x00}, // 0x2C ','
+    {0x04,0x04,0x04,0x04,0x04}, // 0x2D '-'
+    {0x00,0x00,0x10,0x00,0x00}, // 0x2E '.'
+    {0x10,0x08,0x04,0x02,0x01}, // 0x2F '/'
+    {0x0E,0x19,0x15,0x13,0x0E}, // 0x30 '0'
+    {0x00,0x00,0x1F,0x00,0x00}, // 0x31 '1'
+    {0x12,0x11,0x19,0x15,0x12}, // 0x32 '2'
+    {0x0A,0x11,0x15,0x15,0x0A}, // 0x33 '3'
+    {0x0C,0x0A,0x09,0x1F,0x08}, // 0x34 '4'
+    {0x17,0x15,0x15,0x15,0x1D}, // 0x35 '5' 
+    {0x0E,0x15,0x15,0x15,0x08}, // 0x36 '6'
+    {0x01,0x01,0x19,0x05,0x03}, // 0x37 '7'
+    {0x0A,0x15,0x15,0x15,0x0A}, // 0x38 '8'
+    {0x02,0x15,0x15,0x15,0x0E}, // 0x39 '9'
+    {0x00,0x00,0x0A,0x00,0x00}, // 0x3A ':'
+    {0x00,0x10,0x0A,0x00,0x00}, // 0x3B ';'
+    {0x00,0x04,0x0A,0x11,0x00}, // 0x3C '<'
+    {0x0A,0x0A,0x0A,0x0A,0x0A}, // 0x3D '='
+    {0x00,0x11,0x0A,0x04,0x00}, // 0x3E '>'
+    {0x02,0x01,0x11,0x05,0x02}, // 0x3F '?'
+    {0x0E,0x11,0x1D,0x13,0x0E}, // 0x40 '@'
+    {0x1C,0x0A,0x09,0x0A,0x1C}, // 0x41 'A'
+    {0x1F,0x15,0x15,0x15,0x0A}, // 0x42 'B'
+    {0x0E,0x11,0x11,0x11,0x0A}, // 0x43 'C'
+    {0x1F,0x11,0x11,0x11,0x0E}, // 0x44 'D'
+    {0x1F,0x15,0x15,0x15,0x15}, // 0x45 'E'
+    {0x1F,0x05,0x05,0x05,0x01}, // 0x46 'F'
+    {0x0E,0x11,0x11,0x15,0x0C}, // 0x47 'G'
+    {0x1F,0x04,0x04,0x04,0x1F}, // 0x48 'H'
+    {0x00,0x11,0x1F,0x11,0x00}, // 0x49 'I'
+    {0x08,0x10,0x10,0x10,0x0F}, // 0x4A 'J'
+    {0x1F,0x04,0x04,0x0A,0x11}, // 0x4B 'K'
+    {0x1F,0x10,0x10,0x10,0x10}, // 0x4C 'L'
+    {0x1F,0x02,0x04,0x02,0x1F}, // 0x4D 'M'
+    {0x1F,0x02,0x04,0x08,0x1F}, // 0x4E 'N'
+    {0x0E,0x11,0x11,0x11,0x0E}, // 0x4F 'O'
+    {0x1F,0x05,0x05,0x05,0x02}, // 0x50 'P'
+    {0x0E,0x11,0x11,0x19,0x1E}, // 0x51 'Q'
+    {0x1F,0x05,0x05,0x0D,0x12}, // 0x52 'R'
+    {0x12,0x15,0x15,0x15,0x09}, // 0x53 'S'
+    {0x01,0x01,0x1F,0x01,0x01}, // 0x54 'T'
+    {0x0F,0x10,0x10,0x10,0x0F}, // 0x55 'U'
+    {0x07,0x08,0x10,0x08,0x07}, // 0x56 'V'
+    {0x0F,0x10,0x0F,0x10,0x0F}, // 0x57 'W'
+    {0x11,0x0A,0x04,0x0A,0x11}, // 0x58 'X'
+    {0x01,0x02,0x1C,0x02,0x01}, // 0x59 'Y'
+    {0x11,0x19,0x15,0x13,0x11}, // 0x5A 'Z'
+    {0x00,0x1F,0x11,0x11,0x00}, // 0x5B ']'
+    {0x01,0x02,0x04,0x08,0x10}, // 0x5C '\'
+    {0x00,0x11,0x11,0x1F,0x00}, // 0x5D ']'
+    {0x00,0x02,0x01,0x02,0x00}, // 0x5E '^'
+    {0x10,0x10,0x10,0x10,0x10}, // 0x5F '_'
+    {0x00,0x01,0x02,0x00,0x00}, // 0x60 '`'
+    {0x0C,0x12,0x12,0x0C,0x10}, // 0x61 'a'
+    {0x1E,0x14,0x14,0x08,0x00}, // 0x62 'b'
+    {0x0C,0x12,0x12,0x12,0x00}, // 0x63 'c'
+    {0x08,0x14,0x14,0x1F,0x00}, // 0x64 'd'
+    {0x0E,0x15,0x15,0x06,0x00}, // 0x65 'e'
+    {0x00,0x04,0x1F,0x05,0x00}, // 0x66 'f'
+    {0x02,0x15,0x15,0x0E,0x00}, // 0x68 'g'
+    {0x00,0x1F,0x04,0x18,0x00}, // 0x68 'h'
+    {0x00,0x00,0x1A,0x00,0x00}, // 0x69 'i'
+    {0x00,0x10,0x1D,0x00,0x00}, // 0x6A 'j'
+    {0x00,0x1F,0x08,0x14,0x00}, // 0x6B 'k'
+    {0x00,0x01,0x1F,0x00,0x00}, // 0x6C 'l'
+    {0x18,0x04,0x1C,0x04,0x18}, // 0x6D 'm'
+    {0x18,0x04,0x04,0x18,0x00}, // 0x6E 'n'
+    {0x0C,0x12,0x12,0x0C,0x00}, // 0x6F 'o'
+    {0x1C,0x0A,0x0A,0x04,0x00}, // 0x70 'p'
+    {0x04,0x0A,0x0A,0x1C,0x00}, // 0x71 'q'
+    {0x1E,0x04,0x02,0x02,0x00}, // 0x72 'r'
+    {0x00,0x12,0x15,0x09,0x00}, // 0x73 's'
+    {0x00,0x04,0x1E,0x14,0x00}, // 0x74 't'
+    {0x0E,0x10,0x10,0x0E,0x10}, // 0x75 'u'
+    {0x04,0x08,0x10,0x08,0x04}, // 0x76 'v'
+    {0x0C,0x10,0x0C,0x10,0x0C}, // 0x77 'w'
+    {0x00,0x14,0x08,0x14,0x00}, // 0x78 'x'
+    {0x10,0x0A,0x04,0x02,0x00}, // 0x79 'y'
+    {0x00,0x12,0x1A,0x16,0x00}, // 0x7A 'z'
+    {0x00,0x04,0x1B,0x11,0x00}, // 0x7B '{'
+    {0x00,0x00,0x1F,0x00,0x00}, // 0x7C '|'
+    {0x00,0x11,0x1B,0x04,0x00}, // 0x7D '}'
+    {0x02,0x01,0x02,0x04,0x02}  // 0x7E '~'
+};
+
+#endif /* FONT5X5_H_ */
+
+