ESP32-PaxCounter/include/ledmatrixfonts.h
Alex Goris 0060b101df feat(LED Matrix Display): Added support for a LED Matrix display
This commit adds support for a specific LED Matrix display, which can be
used to show the number of found devices on a rather large display.
We (hackerspace Brixel) used this on the mini Maker Faire Gent 2019 to
show the number of found devices throughout the event
2019-05-05 23:43:18 +02:00

40 lines
1.0 KiB
C

// Fonts.h
#ifndef _FONTS_h
#define _FONTS_h
#include "Arduino.h"
struct FONT_CHAR_INFO {
uint8_t width; // width in bits
uint8_t height;
uint16_t offset; // offset of char into char array
};
struct FONT_INFO {
uint8_t CharHeight;
char StartChar;
char EndChar;
uint8_t SpaceWidth;
const FONT_CHAR_INFO *Descriptors;
const uint8_t *Bitmap;
};
// Font data for Microsoft Sans Serif 11pt
extern const uint8_t arialNarrow_17ptBitmaps[];
extern const uint8_t gillSansMTCondensed_18ptBitmaps[];
extern const FONT_INFO gillSansMTCondensed_18ptFontInfo;
extern const FONT_CHAR_INFO gillSansMTCondensed_18ptDescriptors[];
// Font data for Gill Sans MT Condensed 16pt
extern const uint8_t gillSansMTCondensed_16ptBitmaps[];
extern const FONT_INFO gillSansMTCondensed_16ptFontInfo;
extern const FONT_CHAR_INFO gillSansMTCondensed_16ptDescriptors[];
// Font data for Digital-7 18pt
extern const uint8_t digital7_18ptBitmaps[];
extern const FONT_INFO digital7_18ptFontInfo;
extern const FONT_CHAR_INFO digital7_18ptDescriptors[];
#endif