ssd1306 stm32l010

Dependents:   oled_test7_16x24_010_1 i2c_HT16K33_test1_767_3 HAL_oled_16x24_010_1

Committer:
caa45040
Date:
Tue Aug 02 06:48:13 2022 +0000
Revision:
0:5d70351255d1
ssd1306 stm32l010

Who changed what in which revision?

UserRevisionLine numberNew contents of line
caa45040 0:5d70351255d1 1 #ifndef _FONT_8x8_H_
caa45040 0:5d70351255d1 2 #define _FONT_8x8_H_
caa45040 0:5d70351255d1 3
caa45040 0:5d70351255d1 4
caa45040 0:5d70351255d1 5 //----- DEFINES -----
caa45040 0:5d70351255d1 6 #define FONT8x8_START 0x20
caa45040 0:5d70351255d1 7 //#define FONT8x8_END 0x44
caa45040 0:5d70351255d1 8 #define FONT8x8_WIDTH 8
caa45040 0:5d70351255d1 9 #define FONT8x8_HEIGHT 8
caa45040 0:5d70351255d1 10 #define FONT8x8_BYTES 1
caa45040 0:5d70351255d1 11
caa45040 0:5d70351255d1 12 //========================
caa45040 0:5d70351255d1 13 const uint8_t font_8x8[][8] = {
caa45040 0:5d70351255d1 14 {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 15 {0x00,0x00,0x5F,0x00,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 16 {0x00,0x00,0x07,0x00,0x07,0x00,0x00,0x00},
caa45040 0:5d70351255d1 17 {0x00,0x14,0x7F,0x14,0x7F,0x14,0x00,0x00},
caa45040 0:5d70351255d1 18 {0x00,0x24,0x2A,0x7F,0x2A,0x12,0x00,0x00},
caa45040 0:5d70351255d1 19 {0x00,0x23,0x13,0x08,0x64,0x62,0x00,0x00},
caa45040 0:5d70351255d1 20 {0x00,0x36,0x49,0x55,0x22,0x50,0x00,0x00},
caa45040 0:5d70351255d1 21 {0x00,0x00,0x05,0x03,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 22 {0x00,0x1C,0x22,0x41,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 23 {0x00,0x41,0x22,0x1C,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 24 {0x00,0x08,0x2A,0x1C,0x2A,0x08,0x00,0x00},
caa45040 0:5d70351255d1 25 {0x00,0x08,0x08,0x3E,0x08,0x08,0x00,0x00},
caa45040 0:5d70351255d1 26 {0x00,0xA0,0x60,0x00,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 27 {0x00,0x08,0x08,0x08,0x08,0x08,0x00,0x00},
caa45040 0:5d70351255d1 28 {0x00,0x60,0x60,0x00,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 29 {0x00,0x20,0x10,0x08,0x04,0x02,0x00,0x00},
caa45040 0:5d70351255d1 30 {0x00,0x3E,0x51,0x49,0x45,0x3E,0x00,0x00},
caa45040 0:5d70351255d1 31 {0x00,0x00,0x42,0x7F,0x40,0x00,0x00,0x00},
caa45040 0:5d70351255d1 32 {0x00,0x62,0x51,0x49,0x49,0x46,0x00,0x00},
caa45040 0:5d70351255d1 33 {0x00,0x22,0x41,0x49,0x49,0x36,0x00,0x00},
caa45040 0:5d70351255d1 34 {0x00,0x18,0x14,0x12,0x7F,0x10,0x00,0x00},
caa45040 0:5d70351255d1 35 {0x00,0x27,0x45,0x45,0x45,0x39,0x00,0x00},
caa45040 0:5d70351255d1 36 {0x00,0x3C,0x4A,0x49,0x49,0x30,0x00,0x00},
caa45040 0:5d70351255d1 37 {0x00,0x01,0x71,0x09,0x05,0x03,0x00,0x00},
caa45040 0:5d70351255d1 38 {0x00,0x36,0x49,0x49,0x49,0x36,0x00,0x00},
caa45040 0:5d70351255d1 39 {0x00,0x06,0x49,0x49,0x29,0x1E,0x00,0x00},
caa45040 0:5d70351255d1 40 {0x00,0x00,0x36,0x36,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 41 {0x00,0x00,0xAC,0x6C,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 42 {0x00,0x08,0x14,0x22,0x41,0x00,0x00,0x00},
caa45040 0:5d70351255d1 43 {0x00,0x14,0x14,0x14,0x14,0x14,0x00,0x00},
caa45040 0:5d70351255d1 44 {0x00,0x41,0x22,0x14,0x08,0x00,0x00,0x00},
caa45040 0:5d70351255d1 45 {0x00,0x02,0x01,0x51,0x09,0x06,0x00,0x00},
caa45040 0:5d70351255d1 46 {0x00,0x32,0x49,0x79,0x41,0x3E,0x00,0x00},
caa45040 0:5d70351255d1 47 {0x00,0x7E,0x09,0x09,0x09,0x7E,0x00,0x00},
caa45040 0:5d70351255d1 48 {0x00,0x7F,0x49,0x49,0x49,0x36,0x00,0x00},
caa45040 0:5d70351255d1 49 {0x00,0x3E,0x41,0x41,0x41,0x22,0x00,0x00},
caa45040 0:5d70351255d1 50 {0x00,0x7F,0x41,0x41,0x22,0x1C,0x00,0x00},
caa45040 0:5d70351255d1 51 {0x00,0x7F,0x49,0x49,0x49,0x41,0x00,0x00},
caa45040 0:5d70351255d1 52 {0x00,0x7F,0x09,0x09,0x09,0x01,0x00,0x00},
caa45040 0:5d70351255d1 53 {0x00,0x3E,0x41,0x41,0x51,0x72,0x00,0x00},
caa45040 0:5d70351255d1 54 {0x00,0x7F,0x08,0x08,0x08,0x7F,0x00,0x00},
caa45040 0:5d70351255d1 55 {0x00,0x41,0x7F,0x41,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 56 {0x00,0x20,0x40,0x41,0x3F,0x01,0x00,0x00},
caa45040 0:5d70351255d1 57 {0x00,0x7F,0x08,0x14,0x22,0x41,0x00,0x00},
caa45040 0:5d70351255d1 58 {0x00,0x7F,0x40,0x40,0x40,0x40,0x00,0x00},
caa45040 0:5d70351255d1 59 {0x00,0x7F,0x02,0x0C,0x02,0x7F,0x00,0x00},
caa45040 0:5d70351255d1 60 {0x00,0x7F,0x04,0x08,0x10,0x7F,0x00,0x00},
caa45040 0:5d70351255d1 61 {0x00,0x3E,0x41,0x41,0x41,0x3E,0x00,0x00},
caa45040 0:5d70351255d1 62 {0x00,0x7F,0x09,0x09,0x09,0x06,0x00,0x00},
caa45040 0:5d70351255d1 63 {0x00,0x3E,0x41,0x51,0x21,0x5E,0x00,0x00},
caa45040 0:5d70351255d1 64 {0x00,0x7F,0x09,0x19,0x29,0x46,0x00,0x00},
caa45040 0:5d70351255d1 65 {0x00,0x26,0x49,0x49,0x49,0x32,0x00,0x00},
caa45040 0:5d70351255d1 66 {0x00,0x01,0x01,0x7F,0x01,0x01,0x00,0x00},
caa45040 0:5d70351255d1 67 {0x00,0x3F,0x40,0x40,0x40,0x3F,0x00,0x00},
caa45040 0:5d70351255d1 68 {0x00,0x1F,0x20,0x40,0x20,0x1F,0x00,0x00},
caa45040 0:5d70351255d1 69 {0x00,0x3F,0x40,0x38,0x40,0x3F,0x00,0x00},
caa45040 0:5d70351255d1 70 {0x00,0x63,0x14,0x08,0x14,0x63,0x00,0x00},
caa45040 0:5d70351255d1 71 {0x00,0x03,0x04,0x78,0x04,0x03,0x00,0x00},
caa45040 0:5d70351255d1 72 {0x00,0x61,0x51,0x49,0x45,0x43,0x00,0x00},
caa45040 0:5d70351255d1 73 {0x00,0x7F,0x41,0x41,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 74 {0x00,0x02,0x04,0x08,0x10,0x20,0x00,0x00},
caa45040 0:5d70351255d1 75 {0x00,0x41,0x41,0x7F,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 76 {0x00,0x04,0x02,0x01,0x02,0x04,0x00,0x00},
caa45040 0:5d70351255d1 77 {0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00},
caa45040 0:5d70351255d1 78 {0x00,0x01,0x02,0x04,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 79 {0x00,0x20,0x54,0x54,0x54,0x78,0x00,0x00},
caa45040 0:5d70351255d1 80 {0x00,0x7F,0x48,0x44,0x44,0x38,0x00,0x00},
caa45040 0:5d70351255d1 81 {0x00,0x38,0x44,0x44,0x28,0x00,0x00,0x00},
caa45040 0:5d70351255d1 82 {0x00,0x38,0x44,0x44,0x48,0x7F,0x00,0x00},
caa45040 0:5d70351255d1 83 {0x00,0x38,0x54,0x54,0x54,0x18,0x00,0x00},
caa45040 0:5d70351255d1 84 {0x00,0x08,0x7E,0x09,0x02,0x00,0x00,0x00},
caa45040 0:5d70351255d1 85 {0x00,0x18,0xA4,0xA4,0xA4,0x7C,0x00,0x00},
caa45040 0:5d70351255d1 86 {0x00,0x7F,0x08,0x04,0x04,0x78,0x00,0x00},
caa45040 0:5d70351255d1 87 {0x00,0x00,0x7D,0x00,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 88 {0x00,0x80,0x84,0x7D,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 89 {0x00,0x7F,0x10,0x28,0x44,0x00,0x00,0x00},
caa45040 0:5d70351255d1 90 {0x00,0x41,0x7F,0x40,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 91 {0x00,0x7C,0x04,0x18,0x04,0x78,0x00,0x00},
caa45040 0:5d70351255d1 92 {0x00,0x7C,0x08,0x04,0x7C,0x00,0x00,0x00},
caa45040 0:5d70351255d1 93 {0x00,0x38,0x44,0x44,0x38,0x00,0x00,0x00},
caa45040 0:5d70351255d1 94 {0x00,0xFC,0x24,0x24,0x18,0x00,0x00,0x00},
caa45040 0:5d70351255d1 95 {0x00,0x18,0x24,0x24,0xFC,0x00,0x00,0x00},
caa45040 0:5d70351255d1 96 {0x00,0x00,0x7C,0x08,0x04,0x00,0x00,0x00},
caa45040 0:5d70351255d1 97 {0x00,0x48,0x54,0x54,0x24,0x00,0x00,0x00},
caa45040 0:5d70351255d1 98 {0x00,0x04,0x7F,0x44,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 99 {0x00,0x3C,0x40,0x40,0x7C,0x00,0x00,0x00},
caa45040 0:5d70351255d1 100 {0x00,0x1C,0x20,0x40,0x20,0x1C,0x00,0x00},
caa45040 0:5d70351255d1 101 {0x00,0x3C,0x40,0x30,0x40,0x3C,0x00,0x00},
caa45040 0:5d70351255d1 102 {0x00,0x44,0x28,0x10,0x28,0x44,0x00,0x00},
caa45040 0:5d70351255d1 103 {0x00,0x1C,0xA0,0xA0,0x7C,0x00,0x00,0x00},
caa45040 0:5d70351255d1 104 {0x00,0x44,0x64,0x54,0x4C,0x44,0x00,0x00},
caa45040 0:5d70351255d1 105 {0x00,0x08,0x36,0x41,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 106 {0x00,0x00,0x7F,0x00,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 107 {0x00,0x41,0x36,0x08,0x00,0x00,0x00,0x00},
caa45040 0:5d70351255d1 108 {0x00,0x02,0x01,0x01,0x02,0x01,0x00,0x00},
caa45040 0:5d70351255d1 109 {0x00,0x02,0x05,0x05,0x02,0x00,0x00,0x00}
caa45040 0:5d70351255d1 110 };
caa45040 0:5d70351255d1 111
caa45040 0:5d70351255d1 112 #endif // include