ATtiny85 Template Code
Code snippets for the ATtiny85
|
#include <stdint.h>
#include <avr/pgmspace.h>
Go to the source code of this file.
Macros | |
#define | DATA_WIDTH 5 |
#define | CHAR_WIDTH (DATA_WIDTH + 1) |
Variables | |
const uint8_t SMALL_FONT[] | PROGMEM |
#define CHAR_WIDTH (DATA_WIDTH + 1) |
Width of the displayed character
An extra byte is added to the font data for character spacing.
Definition at line 27 of file smallfont.h.
#define DATA_WIDTH 5 |
Width of the font glyphs (in bytes)
Definition at line 21 of file smallfont.h.
const uint8_t SMALL_FONT [] PROGMEM |
Glyph data (stored in PROGMEM)
A 5x7 pixel character font
This font gives a character display of 14 columns by 5 rows on the 84 x 48 Nokia LCD and 21 columns by 8 rows on the 128 x 64 pixel OLED display which is enough for most purposes and allows for a simple software interface. It includes glyphs for the standard printable ASCII characters from 0x20 to 0x7F inclusive.
Definition at line 20 of file smallfont.c.