PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- #ifndef _ST7735_FONTS_H
- #define _ST7735_FONTS_H
-
- #include <stdio.h>
- /*
- #if defined(_FORCE_PROGMEM__)
-
- typedef struct PROGMEM {
- const uint8_t *data;
- uint8_t image_width;
- int image_datalen;
- } tImage;
-
- typedef struct {
- uint8_t char_code;
- const tImage *image;
- } tChar;
-
- typedef struct {
- uint8_t length;
- const tChar *chars;
- uint8_t font_width;
- uint8_t font_height;
- bool rle;
- } tFont;
- #else
- typedef struct {
- const uint8_t *data;
- uint8_t image_width;
- int image_datalen;
- } tImage;
-
- typedef struct {
- uint8_t char_code;
- const tImage *image;
- } tChar;
-
- typedef struct {
- uint8_t length;
- const tChar *chars;
- uint8_t font_width;
- uint8_t font_height;
- bool rle;
- } tFont;
- #endif
-
- */
- typedef struct __PRGMTAG_ {
- const uint8_t *data;
- uint8_t image_width;
- int image_datalen;
- } tImage;
-
- typedef struct {
- uint8_t char_code;
- const tImage *image;
- } tChar;
-
- typedef struct {
- uint8_t length;
- const tChar *chars;
- uint8_t font_width;
- uint8_t font_height;
- bool rle;
- } tFont;
-
- #endif
|