SSD1306 OLED display driver  1.7.2
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
ssd1306_fonts.h
Go to the documentation of this file.
1 /*
2  MIT License
3 
4  Copyright (c) 2018, Alexey Dynda
5 
6  Permission is hereby granted, free of charge, to any person obtaining a copy
7  of this software and associated documentation files (the "Software"), to deal
8  in the Software without restriction, including without limitation the rights
9  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10  copies of the Software, and to permit persons to whom the Software is
11  furnished to do so, subject to the following conditions:
12 
13  The above copyright notice and this permission notice shall be included in all
14  copies or substantial portions of the Software.
15 
16  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22  SOFTWARE.
23 */
28 #ifndef SSD1306_FONTS_H
29 #define SSD1306_FONTS_H
30 
31 #include "ssd1306_hal/io.h"
32 #include "nano_gfx_types.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
44 extern const PROGMEM uint8_t ssd1306xled_font6x8 [];
45 
47 extern const PROGMEM uint8_t ssd1306xled_font6x8_AB [];
48 
50 extern const PROGMEM uint8_t ssd1306xled_font5x7 [];
51 
53 extern const PROGMEM uint8_t ssd1306xled_font5x7_AB [];
54 
56 extern const PROGMEM uint8_t digital_font5x7_123[];
57 
59 extern const PROGMEM uint8_t digital_font5x7_AB[];
60 
62 extern const PROGMEM uint8_t digital_font5x7[];
63 
68 extern const PROGMEM uint8_t courier_new_font11x16_digits [];
69 
74 extern const PROGMEM uint8_t comic_sans_font24x32_123 [];
75 
83 void ssd1306_setCursor(lcdint_t x, lcdint_t y);
84 
103 void ssd1306_setFixedFont(const uint8_t * progmemFont);
104 
116 void ssd1306_setFont6x8(const uint8_t * progmemFont) __attribute__ ((deprecated));
117 
131 void ssd1306_getCharBitmap(char ch, SCharInfo *info);
132 
137 #ifdef __cplusplus
138 }
139 #endif
140 
141 #endif // SSD1306_FONTS_H
void ssd1306_setCursor(lcdint_t x, lcdint_t y)
Sets cursor position for text mode print functions.
const PROGMEM uint8_t digital_font5x7_123[]
const PROGMEM uint8_t courier_new_font11x16_digits[]
const PROGMEM uint8_t ssd1306xled_font6x8[]
Definition: ssd1306_fonts.c:41
const PROGMEM uint8_t ssd1306xled_font5x7[]
void ssd1306_setFixedFont(const uint8_t *progmemFont)
const PROGMEM uint8_t ssd1306xled_font5x7_AB[]
const PROGMEM uint8_t comic_sans_font24x32_123[]
void ssd1306_getCharBitmap(char ch, SCharInfo *info)
returns char data for currently set (active) font.
const PROGMEM uint8_t ssd1306xled_font6x8_AB[]
void ssd1306_setFont6x8(const uint8_t *progmemFont) __attribute__((deprecated))
Definition: ssd1306_1bit.c:856
const PROGMEM uint8_t digital_font5x7_AB[]
const PROGMEM uint8_t digital_font5x7[]