diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2026-02-17 11:37:50 -0800 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2026-02-17 11:37:50 -0800 |
| commit | fb1611c0ca99d9e609057c46507be2af8389bb7b (patch) | |
| tree | 646ac568fdad1e6cf9e1f5767295b183bc5c5441 /firmware/rf test/Core/Inc/fonts.h | |
| parent | 6e952fe110c2a48204c8cb0a836309ab97e5979a (diff) | |
Diffstat (limited to 'firmware/rf test/Core/Inc/fonts.h')
| -rw-r--r-- | firmware/rf test/Core/Inc/fonts.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/firmware/rf test/Core/Inc/fonts.h b/firmware/rf test/Core/Inc/fonts.h new file mode 100644 index 0000000..3a4cbc6 --- /dev/null +++ b/firmware/rf test/Core/Inc/fonts.h @@ -0,0 +1,22 @@ +#include <stdint.h> +#include <stdlib.h> + +#ifndef _FONTS_H +#define _FONTS_H + +#define NUMBER_OF_FONTS 1 + +typedef struct { + uint8_t char_w; + uint8_t char_h; + uint8_t bytes_per_row; + uint8_t bytes_per_char; + uint8_t *font_bytes; + uint8_t *lookup; +} bitmap_font_t; + +extern bitmap_font_t** fonts; + +void set_up_fonts(); + +#endif |
