A fork with some I2C optimizations that speed up the display.

Fork of SSD1308_128x64_I2C by Wim Huiskamp

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers font_8x8.h Source File

font_8x8.h

00001 #ifndef _FONT_8x8_H_
00002 #define _FONT_8x8_H_
00003 
00004 
00005 //----- DEFINES -----
00006 #define FONT8x8_START                   0x20
00007 //#define FONT8x8_END                     0x44
00008 #define FONT8x8_WIDTH                   8
00009 #define FONT8x8_HEIGHT                  8
00010 #define FONT8x8_BYTES                   1
00011 
00012 //========================
00013 const uint8_t font_8x8[][8] = {
00014 {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
00015 {0x00,0x00,0x5F,0x00,0x00,0x00,0x00,0x00},
00016 {0x00,0x00,0x07,0x00,0x07,0x00,0x00,0x00},
00017 {0x00,0x14,0x7F,0x14,0x7F,0x14,0x00,0x00},
00018 {0x00,0x24,0x2A,0x7F,0x2A,0x12,0x00,0x00},
00019 {0x00,0x23,0x13,0x08,0x64,0x62,0x00,0x00},
00020 {0x00,0x36,0x49,0x55,0x22,0x50,0x00,0x00},
00021 {0x00,0x00,0x05,0x03,0x00,0x00,0x00,0x00},
00022 {0x00,0x1C,0x22,0x41,0x00,0x00,0x00,0x00},
00023 {0x00,0x41,0x22,0x1C,0x00,0x00,0x00,0x00},
00024 {0x00,0x08,0x2A,0x1C,0x2A,0x08,0x00,0x00},
00025 {0x00,0x08,0x08,0x3E,0x08,0x08,0x00,0x00},
00026 {0x00,0xA0,0x60,0x00,0x00,0x00,0x00,0x00},
00027 {0x00,0x08,0x08,0x08,0x08,0x08,0x00,0x00},
00028 {0x00,0x60,0x60,0x00,0x00,0x00,0x00,0x00},
00029 {0x00,0x20,0x10,0x08,0x04,0x02,0x00,0x00},
00030 {0x00,0x3E,0x51,0x49,0x45,0x3E,0x00,0x00},
00031 {0x00,0x00,0x42,0x7F,0x40,0x00,0x00,0x00},
00032 {0x00,0x62,0x51,0x49,0x49,0x46,0x00,0x00},
00033 {0x00,0x22,0x41,0x49,0x49,0x36,0x00,0x00},
00034 {0x00,0x18,0x14,0x12,0x7F,0x10,0x00,0x00},
00035 {0x00,0x27,0x45,0x45,0x45,0x39,0x00,0x00},
00036 {0x00,0x3C,0x4A,0x49,0x49,0x30,0x00,0x00},
00037 {0x00,0x01,0x71,0x09,0x05,0x03,0x00,0x00},
00038 {0x00,0x36,0x49,0x49,0x49,0x36,0x00,0x00},
00039 {0x00,0x06,0x49,0x49,0x29,0x1E,0x00,0x00},
00040 {0x00,0x00,0x36,0x36,0x00,0x00,0x00,0x00},
00041 {0x00,0x00,0xAC,0x6C,0x00,0x00,0x00,0x00},
00042 {0x00,0x08,0x14,0x22,0x41,0x00,0x00,0x00},
00043 {0x00,0x14,0x14,0x14,0x14,0x14,0x00,0x00},
00044 {0x00,0x41,0x22,0x14,0x08,0x00,0x00,0x00},
00045 {0x00,0x02,0x01,0x51,0x09,0x06,0x00,0x00},
00046 {0x00,0x32,0x49,0x79,0x41,0x3E,0x00,0x00},
00047 {0x00,0x7E,0x09,0x09,0x09,0x7E,0x00,0x00},
00048 {0x00,0x7F,0x49,0x49,0x49,0x36,0x00,0x00},
00049 {0x00,0x3E,0x41,0x41,0x41,0x22,0x00,0x00},
00050 {0x00,0x7F,0x41,0x41,0x22,0x1C,0x00,0x00},
00051 {0x00,0x7F,0x49,0x49,0x49,0x41,0x00,0x00},
00052 {0x00,0x7F,0x09,0x09,0x09,0x01,0x00,0x00},
00053 {0x00,0x3E,0x41,0x41,0x51,0x72,0x00,0x00},
00054 {0x00,0x7F,0x08,0x08,0x08,0x7F,0x00,0x00},
00055 {0x00,0x41,0x7F,0x41,0x00,0x00,0x00,0x00},
00056 {0x00,0x20,0x40,0x41,0x3F,0x01,0x00,0x00},
00057 {0x00,0x7F,0x08,0x14,0x22,0x41,0x00,0x00},
00058 {0x00,0x7F,0x40,0x40,0x40,0x40,0x00,0x00},
00059 {0x00,0x7F,0x02,0x0C,0x02,0x7F,0x00,0x00},
00060 {0x00,0x7F,0x04,0x08,0x10,0x7F,0x00,0x00},
00061 {0x00,0x3E,0x41,0x41,0x41,0x3E,0x00,0x00},
00062 {0x00,0x7F,0x09,0x09,0x09,0x06,0x00,0x00},
00063 {0x00,0x3E,0x41,0x51,0x21,0x5E,0x00,0x00},
00064 {0x00,0x7F,0x09,0x19,0x29,0x46,0x00,0x00},
00065 {0x00,0x26,0x49,0x49,0x49,0x32,0x00,0x00},
00066 {0x00,0x01,0x01,0x7F,0x01,0x01,0x00,0x00},
00067 {0x00,0x3F,0x40,0x40,0x40,0x3F,0x00,0x00},
00068 {0x00,0x1F,0x20,0x40,0x20,0x1F,0x00,0x00},
00069 {0x00,0x3F,0x40,0x38,0x40,0x3F,0x00,0x00},
00070 {0x00,0x63,0x14,0x08,0x14,0x63,0x00,0x00},
00071 {0x00,0x03,0x04,0x78,0x04,0x03,0x00,0x00},
00072 {0x00,0x61,0x51,0x49,0x45,0x43,0x00,0x00},
00073 {0x00,0x7F,0x41,0x41,0x00,0x00,0x00,0x00},
00074 {0x00,0x02,0x04,0x08,0x10,0x20,0x00,0x00},
00075 {0x00,0x41,0x41,0x7F,0x00,0x00,0x00,0x00},
00076 {0x00,0x04,0x02,0x01,0x02,0x04,0x00,0x00},
00077 {0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00},
00078 {0x00,0x01,0x02,0x04,0x00,0x00,0x00,0x00},
00079 {0x00,0x20,0x54,0x54,0x54,0x78,0x00,0x00},
00080 {0x00,0x7F,0x48,0x44,0x44,0x38,0x00,0x00},
00081 {0x00,0x38,0x44,0x44,0x28,0x00,0x00,0x00},
00082 {0x00,0x38,0x44,0x44,0x48,0x7F,0x00,0x00},
00083 {0x00,0x38,0x54,0x54,0x54,0x18,0x00,0x00},
00084 {0x00,0x08,0x7E,0x09,0x02,0x00,0x00,0x00},
00085 {0x00,0x18,0xA4,0xA4,0xA4,0x7C,0x00,0x00},
00086 {0x00,0x7F,0x08,0x04,0x04,0x78,0x00,0x00},
00087 {0x00,0x00,0x7D,0x00,0x00,0x00,0x00,0x00},
00088 {0x00,0x80,0x84,0x7D,0x00,0x00,0x00,0x00},
00089 {0x00,0x7F,0x10,0x28,0x44,0x00,0x00,0x00},
00090 {0x00,0x41,0x7F,0x40,0x00,0x00,0x00,0x00},
00091 {0x00,0x7C,0x04,0x18,0x04,0x78,0x00,0x00},
00092 {0x00,0x7C,0x08,0x04,0x7C,0x00,0x00,0x00},
00093 {0x00,0x38,0x44,0x44,0x38,0x00,0x00,0x00},
00094 {0x00,0xFC,0x24,0x24,0x18,0x00,0x00,0x00},
00095 {0x00,0x18,0x24,0x24,0xFC,0x00,0x00,0x00},
00096 {0x00,0x00,0x7C,0x08,0x04,0x00,0x00,0x00},
00097 {0x00,0x48,0x54,0x54,0x24,0x00,0x00,0x00},
00098 {0x00,0x04,0x7F,0x44,0x00,0x00,0x00,0x00},
00099 {0x00,0x3C,0x40,0x40,0x7C,0x00,0x00,0x00},
00100 {0x00,0x1C,0x20,0x40,0x20,0x1C,0x00,0x00},
00101 {0x00,0x3C,0x40,0x30,0x40,0x3C,0x00,0x00},
00102 {0x00,0x44,0x28,0x10,0x28,0x44,0x00,0x00},
00103 {0x00,0x1C,0xA0,0xA0,0x7C,0x00,0x00,0x00},
00104 {0x00,0x44,0x64,0x54,0x4C,0x44,0x00,0x00},
00105 {0x00,0x08,0x36,0x41,0x00,0x00,0x00,0x00},
00106 {0x00,0x00,0x7F,0x00,0x00,0x00,0x00,0x00},
00107 {0x00,0x41,0x36,0x08,0x00,0x00,0x00,0x00},
00108 {0x00,0x02,0x01,0x01,0x02,0x01,0x00,0x00},
00109 {0x00,0x02,0x05,0x05,0x02,0x00,0x00,0x00} 
00110 };
00111 
00112 #endif // include