ButterflyMP3
|
00001 00002 /*** ttuf1 ************************************************************************************** 00003 * 00004 * Teeny Tiny Unreadable Fonts 1 00005 * 66 x 3*5 characters (0x033-0x095, 0x123-0x125) 00006 * 00007 * Make sure to modify the offset values in lcdWrite if you add/change/remove fonts. 00008 * 00009 ***********************************************************************************************/ 00010 #include <avr/io.h> 00011 #include <avr/pgmspace.h> 00012 #include <avr/interrupt.h> 00013 00014 #ifndef __TTUF_1_ 00015 #define __TTUF_1_ 00016 //static unsigned char __attribute__ ((progmem)) 00017 const char fontSet1[] PROGMEM = { 66, 3, 5, // 66 chars, 3x5 font 00018 0x17,0x00,0x00, // '!' 33 00019 0x03,0x00,0x03, // '"' 34 00020 0x1F,0x0A,0x1F, // '#' 35 00021 0x12,0x1F,0x09, // '$' 36 00022 0x09,0x04,0x12, // '%' 37 00023 0x1B,0x15,0x18, // '&' 38 00024 0x03,0x00,0x00, // '`' 39 00025 0x0E,0x11,0x00, // '(' 40 00026 0x11,0x0E,0x00, // ')' 41 00027 0x0A,0x04,0x0A, // '*' 42 00028 0x04,0x0E,0x04, // '+' 43 00029 0x10,0x08,0x00, // ',' 44 00030 0x04,0x04,0x04, // '-' 45 00031 0x10,0x00,0x00, // '.' 46 00032 0x08,0x04,0x02, // '/' 47 00033 0x0E,0x11,0x0E, // '0' 48 00034 0x12,0x1F,0x10, // '1' 49 00035 0x19,0x15,0x12, // '2' 50 00036 0x11,0x15,0x1F, // '3' 51 00037 0x07,0x04,0x1E, // '4' 52 00038 0x17,0x15,0x0D, // '5' 53 00039 0x1F,0x14,0x1C, // '6' 54 00040 0x19,0x05,0x03, // '7' 55 00041 0x1F,0x15,0x1F, // '8' 56 00042 0x07,0x05,0x1F, // '9' 57 00043 0x0A,0x00,0x00, // ':' 58 00044 0x10,0x0A,0x00, // ';' 59 00045 0x04,0x0A,0x11, // '<' 60 00046 0x0A,0x0A,0x0A, // '=' 61 00047 0x11,0x0A,0x04, // '>' 62 00048 0x01,0x15,0x07, // '?' 63 00049 0x1E,0x12,0x16, // '@' 64 00050 0x1E,0x05,0x1E, // 'A' 65 97(a) 00051 0x1F,0x17,0x1C, // 'B' 66 00052 0x0E,0x11,0x11, // 'C' 67 00053 0x1F,0x11,0x0E, // 'D' 68 00054 0x1F,0x15,0x11, // 'E' 69 00055 0x1F,0x05,0x01, // 'F' 70 00056 0x0E,0x11,0x1D, // 'G' 71 00057 0x1F,0x04,0x1F, // 'H' 72 00058 0x11,0x1F,0x11, // 'I' 73 00059 0x18,0x10,0x1F, // 'J' 74 00060 0x1F,0x04,0x1B, // 'K' 75 00061 0x1F,0x10,0x10, // 'L' 76 00062 0x1F,0x03,0x1F, // 'M' 77 00063 0x1F,0x01,0x1E, // 'N' 78 00064 0x1F,0x11,0x1F, // 'O' 79 00065 0x1F,0x05,0x07, // 'P' 80 00066 0x0F,0x09,0x17, // 'Q' 81 00067 0x1F,0x05,0x1A, // 'R' 82 00068 0x12,0x15,0x09, // 'S' 83 00069 0x01,0x1F,0x01, // 'T' 84 00070 0x1F,0x10,0x1F, // 'U' 85 00071 0x0F,0x10,0x0F, // 'V' 86 00072 0x1F,0x18,0x1F, // 'W' 87 00073 0x1B,0x04,0x1B, // 'X' 88 00074 0x07,0x1C,0x07, // 'Y' 89 00075 0x19,0x15,0x13, // 'Z' 90 122(z) 00076 0x1F,0x11,0x00, // '[' 91 00077 0x02,0x04,0x08, // '\' 92 00078 0x11,0x1F,0x00, // ']' 93 00079 0x02,0x01,0x02, // '^' 94 00080 0x10,0x10,0x10, // '_' 95 00081 0x04,0x1F,0x11, // '{' 123 00082 0x1F,0x00,0x00, // '|' 124 00083 0x11,0x1F,0x04 // '}' 125 00084 }; 00085 00086 00087 #endif 00088