NormanB88 / Mara-X-Timer

A Timer mod for the Mara X PL62 based on @AlexRus work. It uses the SH1106 OLED instead of the 1306 smaler screen
6 stars 1 forks source link

please also provide font header files #1

Open cruschke opened 1 year ago

cruschke commented 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.

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

cruschke commented 1 year ago

found this as solution https://github.com/SpacehuhnTech/esp8266_deauther/issues/749 to solve the compilation errors.