PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- #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
|