pico-ssd1306  0.1
Simple library for using ssd1306 displays with the Raspberry Pi Pico and the pico-sdk.
font.h
1 #ifndef _inc_font
2 #define _inc_font
3 
4 /*
5  * Format
6  * <height>, <width>, <additional spacing per char>,
7  * <first ascii char>, <last ascii char>,
8  * <data>
9  */
10 const uint8_t font_8x5[] =
11 {
12  8, 5, 1, 32, 126,
13  0x00, 0x00, 0x00, 0x00, 0x00,
14  0x00, 0x00, 0x5F, 0x00, 0x00,
15  0x00, 0x07, 0x00, 0x07, 0x00,
16  0x14, 0x7F, 0x14, 0x7F, 0x14,
17  0x24, 0x2A, 0x7F, 0x2A, 0x12,
18  0x23, 0x13, 0x08, 0x64, 0x62,
19  0x36, 0x49, 0x56, 0x20, 0x50,
20  0x00, 0x08, 0x07, 0x03, 0x00,
21  0x00, 0x1C, 0x22, 0x41, 0x00,
22  0x00, 0x41, 0x22, 0x1C, 0x00,
23  0x2A, 0x1C, 0x7F, 0x1C, 0x2A,
24  0x08, 0x08, 0x3E, 0x08, 0x08,
25  0x00, 0x80, 0x70, 0x30, 0x00,
26  0x08, 0x08, 0x08, 0x08, 0x08,
27  0x00, 0x00, 0x60, 0x60, 0x00,
28  0x20, 0x10, 0x08, 0x04, 0x02,
29  0x3E, 0x51, 0x49, 0x45, 0x3E,
30  0x00, 0x42, 0x7F, 0x40, 0x00,
31  0x72, 0x49, 0x49, 0x49, 0x46,
32  0x21, 0x41, 0x49, 0x4D, 0x33,
33  0x18, 0x14, 0x12, 0x7F, 0x10,
34  0x27, 0x45, 0x45, 0x45, 0x39,
35  0x3C, 0x4A, 0x49, 0x49, 0x31,
36  0x41, 0x21, 0x11, 0x09, 0x07,
37  0x36, 0x49, 0x49, 0x49, 0x36,
38  0x46, 0x49, 0x49, 0x29, 0x1E,
39  0x00, 0x00, 0x14, 0x00, 0x00,
40  0x00, 0x40, 0x34, 0x00, 0x00,
41  0x00, 0x08, 0x14, 0x22, 0x41,
42  0x14, 0x14, 0x14, 0x14, 0x14,
43  0x00, 0x41, 0x22, 0x14, 0x08,
44  0x02, 0x01, 0x59, 0x09, 0x06,
45  0x3E, 0x41, 0x5D, 0x59, 0x4E,
46  0x7C, 0x12, 0x11, 0x12, 0x7C,
47  0x7F, 0x49, 0x49, 0x49, 0x36,
48  0x3E, 0x41, 0x41, 0x41, 0x22,
49  0x7F, 0x41, 0x41, 0x41, 0x3E,
50  0x7F, 0x49, 0x49, 0x49, 0x41,
51  0x7F, 0x09, 0x09, 0x09, 0x01,
52  0x3E, 0x41, 0x41, 0x51, 0x73,
53  0x7F, 0x08, 0x08, 0x08, 0x7F,
54  0x00, 0x41, 0x7F, 0x41, 0x00,
55  0x20, 0x40, 0x41, 0x3F, 0x01,
56  0x7F, 0x08, 0x14, 0x22, 0x41,
57  0x7F, 0x40, 0x40, 0x40, 0x40,
58  0x7F, 0x02, 0x1C, 0x02, 0x7F,
59  0x7F, 0x04, 0x08, 0x10, 0x7F,
60  0x3E, 0x41, 0x41, 0x41, 0x3E,
61  0x7F, 0x09, 0x09, 0x09, 0x06,
62  0x3E, 0x41, 0x51, 0x21, 0x5E,
63  0x7F, 0x09, 0x19, 0x29, 0x46,
64  0x26, 0x49, 0x49, 0x49, 0x32,
65  0x03, 0x01, 0x7F, 0x01, 0x03,
66  0x3F, 0x40, 0x40, 0x40, 0x3F,
67  0x1F, 0x20, 0x40, 0x20, 0x1F,
68  0x3F, 0x40, 0x38, 0x40, 0x3F,
69  0x63, 0x14, 0x08, 0x14, 0x63,
70  0x03, 0x04, 0x78, 0x04, 0x03,
71  0x61, 0x59, 0x49, 0x4D, 0x43,
72  0x00, 0x7F, 0x41, 0x41, 0x41,
73  0x02, 0x04, 0x08, 0x10, 0x20,
74  0x00, 0x41, 0x41, 0x41, 0x7F,
75  0x04, 0x02, 0x01, 0x02, 0x04,
76  0x40, 0x40, 0x40, 0x40, 0x40,
77  0x00, 0x03, 0x07, 0x08, 0x00,
78  0x20, 0x54, 0x54, 0x78, 0x40,
79  0x7F, 0x28, 0x44, 0x44, 0x38,
80  0x38, 0x44, 0x44, 0x44, 0x28,
81  0x38, 0x44, 0x44, 0x28, 0x7F,
82  0x38, 0x54, 0x54, 0x54, 0x18,
83  0x00, 0x08, 0x7E, 0x09, 0x02,
84  0x18, 0xA4, 0xA4, 0x9C, 0x78,
85  0x7F, 0x08, 0x04, 0x04, 0x78,
86  0x00, 0x44, 0x7D, 0x40, 0x00,
87  0x20, 0x40, 0x40, 0x3D, 0x00,
88  0x7F, 0x10, 0x28, 0x44, 0x00,
89  0x00, 0x41, 0x7F, 0x40, 0x00,
90  0x7C, 0x04, 0x78, 0x04, 0x78,
91  0x7C, 0x08, 0x04, 0x04, 0x78,
92  0x38, 0x44, 0x44, 0x44, 0x38,
93  0xFC, 0x18, 0x24, 0x24, 0x18,
94  0x18, 0x24, 0x24, 0x18, 0xFC,
95  0x7C, 0x08, 0x04, 0x04, 0x08,
96  0x48, 0x54, 0x54, 0x54, 0x24,
97  0x04, 0x04, 0x3F, 0x44, 0x24,
98  0x3C, 0x40, 0x40, 0x20, 0x7C,
99  0x1C, 0x20, 0x40, 0x20, 0x1C,
100  0x3C, 0x40, 0x30, 0x40, 0x3C,
101  0x44, 0x28, 0x10, 0x28, 0x44,
102  0x4C, 0x90, 0x90, 0x90, 0x7C,
103  0x44, 0x64, 0x54, 0x4C, 0x44,
104  0x00, 0x08, 0x36, 0x41, 0x00,
105  0x00, 0x00, 0x77, 0x00, 0x00,
106  0x00, 0x41, 0x36, 0x08, 0x00,
107  0x02, 0x01, 0x02, 0x04, 0x02,
108 };
109 
110 #endif