0
mirror of https://gitlab.com/hyperglitch/jellyfish.git synced 2025-04-01 01:16:54 +00:00
jellyfish-powersupply/fw/Core/Src/ST7789/fonts.h
2025-03-09 00:59:24 +01:00

36 lines
823 B
C

#ifndef __FONT_H
#define __FONT_H
#include "stdint.h"
typedef struct {
const uint8_t width;
uint8_t height;
const uint16_t *data;
} FontDef;
//Font lib.
extern FontDef Font_7x10;
extern FontDef Font_11x18;
extern FontDef Font_16x26;
//16-bit(RGB565) Image lib.
/*******************************************
* CAUTION:
* If the MCU onchip flash cannot
* store such huge image data,please
* do not use it.
* These pics are for test purpose only.
*******************************************/
/* 128x128 pixel RGB565 image */
//extern const uint16_t saber[][128];
//extern const uint16_t knky[][240];
extern const uint16_t tek[][240];
/* 240x240 pixel RGB565 image
extern const uint16_t knky[][240];
extern const uint16_t tek[][240];
extern const uint16_t adi1[][240];
*/
#endif