at24cm0x
1.0
at24cm0x driver library
Toggle main menu visibility
Loading...
Searching...
No Matches
font.h
Go to the documentation of this file.
1
18
19
#ifndef FONT_H_
20
#define FONT_H_
21
22
#ifndef FONT_TYPE
60
#define FONT_TYPE FONT_5X7_ASCII
61
#endif
62
63
#ifndef FONT_WIDTH
71
#define FONT_WIDTH 5
72
#endif
73
74
#ifndef FONT_HEIGHT
82
#define FONT_HEIGHT 7
83
#endif
84
85
#ifndef FONT_ASCII_START_CHAR
93
#define FONT_ASCII_START_CHAR ' '
94
#endif
95
96
#ifndef FONT_ASCII_END_CHAR
104
#define FONT_ASCII_END_CHAR '~'
105
#endif
106
107
#ifndef FONT_IGNORE_LOWER_CASE
117
// #define FONT_IGNORE_LOWER_CASE
118
119
#ifdef _DOXYGEN_
// Used for documentation, can be ignored
120
#define FONT_IGNORE_LOWER_CASE
121
#endif
122
#endif
123
124
#ifndef FONT_STORE_IN_EEPROM
137
// #define FONT_STORE_IN_EEPROM
138
139
#ifdef _DOXYGEN_
// Used for documentation, can be ignored
140
#define FONT_STORE_IN_EEPROM
141
#endif
142
#endif
143
144
#ifndef FONT_STORE_IN_EEPROM
145
#ifndef FONT_STORE_IN_PROGMEM
158
// #define FONT_STORE_IN_PROGMEM
159
#endif
160
#endif
161
162
#include <ctype.h>
163
164
#ifdef FONT_STORE_IN_EEPROM
165
#include <avr/eeprom.h>
166
#endif
167
168
#ifdef FONT_STORE_IN_PROGMEM
169
#include <avr/pgmspace.h>
170
#endif
171
172
void
font_get_bitmap
(
char
character,
unsigned
char
*bitmap);
173
174
#endif
/* FONT_H_ */
font_get_bitmap
void font_get_bitmap(char character, unsigned char *bitmap)
Retrieves the bitmap array for a given ASCII character from the font table.
Definition
font.c:59
drivers
display
font
font.h
Generated by
1.17.0