You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
3.2 KiB
100 lines
3.2 KiB
/*
|
|
MIT License
|
|
|
|
Copyright (c) 2018, Alexey Dynda
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
*/
|
|
/**
|
|
* @file ssd1306_fonts.h Fonts for monochrome/rgb oled display
|
|
*/
|
|
|
|
#ifndef SSD1306_FONTS_H
|
|
#define SSD1306_FONTS_H
|
|
|
|
#include "ssd1306_hal/io.h"
|
|
#include "nano_gfx_types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @defgroup LCD_FONTS FONTS: Supported LCD fonts
|
|
* @{
|
|
*/
|
|
|
|
/** Standard ASCII 6x8 Fixed Type font.*/
|
|
extern const PROGMEM uint8_t ssd1306xled_font6x8 [];
|
|
|
|
/** Standard ASCII 8x16 Fixed Type font */
|
|
extern const PROGMEM uint8_t ssd1306xled_font8x16[];
|
|
|
|
/** German chars for standard ASCII 6x8 Fixed Type font */
|
|
extern const PROGMEM uint8_t ssd1306xled_font6x8_German [];
|
|
|
|
/** Standard ASCII 6x8 AB Fixed Type font with only capital letters */
|
|
extern const PROGMEM uint8_t ssd1306xled_font6x8_AB [];
|
|
|
|
/** Standard ASCII 5x7 Fixed Type font */
|
|
extern const PROGMEM uint8_t ssd1306xled_font5x7 [];
|
|
|
|
/** Standard ASCII 5x7 Fixed Type font with only capital letters */
|
|
extern const PROGMEM uint8_t ssd1306xled_font5x7_AB [];
|
|
|
|
/** Digital ASCII 5x7 Fixed Type font with only digits and operation signs */
|
|
extern const PROGMEM uint8_t digital_font5x7_123[];
|
|
|
|
/** Digital ASCII 5x7 Fixed Type font with only capital letters */
|
|
extern const PROGMEM uint8_t digital_font5x7_AB[];
|
|
|
|
/** Digital ASCII 5x7 Fixed Type font */
|
|
extern const PROGMEM uint8_t digital_font5x7[];
|
|
|
|
/** Calibri ASCII 11x12 Free Type font */
|
|
extern const PROGMEM uint8_t free_calibri11x12[];
|
|
|
|
/** Calibri ASCII 11x12 Free Type font cyrillic */
|
|
extern const PROGMEM uint8_t free_calibri11x12_cyrillic[];
|
|
|
|
/** Calibri ASCII 11x12 Free Type font basic latin */
|
|
extern const PROGMEM uint8_t free_calibri11x12_latin[];
|
|
|
|
|
|
/**
|
|
* Standard ASCII Free Type font 11x16 with digits only (Ascii codes 32 - 64).
|
|
* @warning can be used only with ssd1306_printFixed() and ssd1306_setFixedFont() functions.
|
|
*/
|
|
extern const PROGMEM uint8_t courier_new_font11x16_digits [];
|
|
|
|
/**
|
|
* Comic Sans ASCII Free Type font 24x32 with digits only (Ascii codes 32 - 64).
|
|
* @warning can be used only with ssd1306_printFixed() and ssd1306_setFixedFont() functions.
|
|
*/
|
|
extern const PROGMEM uint8_t comic_sans_font24x32_123 [];
|
|
|
|
/**
|
|
* @}
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // SSD1306_FONTS_H
|
|
|