Open cruschke opened 1 year ago
Hi,
I recently came across your project from https://www.kaffee-netz.de/threads/lelit-mara-x-shot-timer.148272/ and now trying to build it, however I'm struggling with making the fonts working.
You set the font for example here
https://github.com/NormanB88/Mara-X-Timer/blob/main/Timer%20SH1106#L148
but DSEG7_Classic_Regular_50 (and all other fonts) are not declared.
DSEG7_Classic_Regular_50
I found the font converter https://oleddisplay.squix.ch/ , as font type I assumed Adafruit GFX Font seems to be correct, anyway then the code does not compile with errors like
Compilation error: cannot convert 'const GFXfont' to 'const uint8_t*' {aka 'const unsigned char*'}.
Compilation error: cannot convert 'const GFXfont' to 'const uint8_t*' {aka 'const unsigned char*'}
Ideally your project should also provide font header files.
Cheers Christian
found this as solution https://github.com/SpacehuhnTech/esp8266_deauther/issues/749 to solve the compilation errors.
Hi,
I recently came across your project from https://www.kaffee-netz.de/threads/lelit-mara-x-shot-timer.148272/ and now trying to build it, however I'm struggling with making the fonts working.
You set the font for example here
https://github.com/NormanB88/Mara-X-Timer/blob/main/Timer%20SH1106#L148
but
DSEG7_Classic_Regular_50
(and all other fonts) are not declared.I found the font converter https://oleddisplay.squix.ch/ , as font type I assumed Adafruit GFX Font seems to be correct, anyway then the code does not compile with errors like
Compilation error: cannot convert 'const GFXfont' to 'const uint8_t*' {aka 'const unsigned char*'}
.Ideally your project should also provide font header files.
Cheers Christian