make screen positions less hardwired wrt font size

This commit is contained in:
Kevin Hester
2020-10-16 11:22:07 +08:00
parent b0837c10c6
commit 79aea8231f
2 changed files with 87 additions and 68 deletions

View File

@@ -2,8 +2,6 @@
#include "fonts.h"
#define FONT_HEIGHT 14 // actually 13 for "Arial 10" but want a little extra space
#define FONT_HEIGHT_16 (ArialMT_Plain_16[1] + 1)
// This means the *visible* area (sh1106 can address 132, but shows 128 for example)
#define TRANSITION_FRAMERATE 30 // fps
#define IDLE_FRAMERATE 1 // in fps