ATtiny85 Template Code
Code snippets for the ATtiny85
 All Files Functions Variables Typedefs Enumerations Enumerator Macros
smallfont.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*
2 * Small font
3 *---------------------------------------------------------------------------*
4 * 26-Apr-2014 ShaneG
5 *
6 * A simple font for use with LCD/OLED displays.
7 *--------------------------------------------------------------------------*/
8 #ifndef __SMALLFONT_H
9 #define __SMALLFONT_H
10 
11 #include <stdint.h>
12 #include <avr/pgmspace.h>
13 
14 
17 extern const uint8_t SMALL_FONT[] PROGMEM;
18 
21 #define DATA_WIDTH 5
22 
27 #define CHAR_WIDTH (DATA_WIDTH + 1)
28 
29 #endif /* __SMALLFONT_H */
const uint8_t SMALL_FONT[] PROGMEM
Definition: smallfont.c:20