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.
 
 
 
 
 
 

21 lines
415 B

#ifndef FONT_H
#define FONT_H
#ifdef AVR
# include <avr/pgmspace.h>
#else
# define PROGMEM
# define pgm_read_byte(B) *(B)
# define pgm_read_word(B) *(B)
#endif
typedef struct{
unsigned char fontHeight;
const unsigned int* fontIndex;
const unsigned char* fontData;
unsigned char glyph_beg;
unsigned char glyph_end;
unsigned char glyph_def;
unsigned char storebytes;
} font;
#endif //FONT_H