rotate framebuffer

This commit is contained in:
2023-03-07 23:49:54 +01:00
parent e5a6bff29c
commit 2521cd75c7
7 changed files with 167 additions and 33 deletions
+3
View File
@@ -29,4 +29,7 @@ fbpos_t fb_7seg_dig(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t th, uint
/// \return width taken
fbpos_t fb_7seg_period(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t th, fbcolor_t color);
void fb_7seg_number(fbpos_t x, fbpos_t y, fbpos_t w, fbpos_t h, fbpos_t th, fbpos_t spacing, fbcolor_t color, uint16_t num, uint8_t places, uint8_t decimals);
#endif //FB_7SEG_H
+2 -2
View File
@@ -2,7 +2,7 @@
#define FRAMEBUFFER_CONFIG_H
/* Tiny framebuffer - size of the big actual OLED */
#define FBW 128
#define FBH 64
#define FBW 64
#define FBH 128
#endif /* FRAMEBUFFER_CONFIG_H */