olikraus / U8g2_for_Adafruit_GFX

Add U8g2 fonts to any Adafruit GFX based graphics library.
Other
103 stars 32 forks source link

Support of Adafruit NeoMatrix library #10

Closed lobl closed 5 years ago

lobl commented 5 years ago

Can this library be used to bring U8g2 fonts on displays built with led stripes which are driven by the Adafruit NeoMatrix library (https://github.com/adafruit/Adafruit_NeoMatrix)?

olikraus commented 5 years ago

Could be, if this lib is compatible to the Adafruit_GFX lib. May you should just try. Remember to replace the include statements.

olikraus commented 5 years ago

Closing, because this is not related to this library.

Galaxy-Man commented 2 years ago

I know it's 4 years late and not related to this library. Answer: However it does work with NeoMatrix. matrix.fillScreen(0); u8g2_for_adafruit_gfx.setFont(u8g2_font_5x7_mf); u8g2_for_adafruit_gfx.setForegroundColor(0xF800); // colour red u8g2_for_adafruit_gfx.drawStr(x, y, "1234567890"); matrix.show();