Hi!
Is this possible to use u8g2 Fonts for this display?
I tried to do as follows
#include <U8g2_for_Adafruit_GFX.h>
U8G2_FOR_ADAFRUIT_GFX u8g2Fonts;
Setup(){
u8g2Fonts.begin(*(Adafruit_GFX*)&display);
u8g2Fonts.setFont(u8g2_font_helvB10_tf); // Explore u8g2 fonts from here:
u8g2Fonts.print("text);
display.update();
}
my sketch was succesfully compiled, but no text appeared on the screen.
The way I did it before
u8g2Fonts.begin(display);
would cause an error
error: cannot convert 'LCMEN2R13EFC1' to 'Adafruit_GFX&'
therefore I'm using type casting
u8g2Fonts.begin(*(Adafruit_GFX*)&display);
Thank you!
Hi!
Is this possible to use u8g2 Fonts for this display?
I tried to do as follows
my sketch was succesfully compiled, but no text appeared on the screen.
The way I did it before
u8g2Fonts.begin(display);would cause an error
error: cannot convert 'LCMEN2R13EFC1' to 'Adafruit_GFX&'therefore I'm using type casting
u8g2Fonts.begin(*(Adafruit_GFX*)&display);Thank you!