Hi, I am working with ESP32 in VScode.
How can I free or get the character fonts for U8g2_Adafruit_GFX ?? Thank you very much in advance.
Hi.
Can you better explain your question? I don’t think I understood what you want to do.
We have this tutorial for the OLED display. It has a section showing how to use other fonts, but it uses the GFX library, not the library you are referring: https://randomnerdtutorials.com/esp32-ssd1306-oled-display-arduino-ide/
Regards,
Sara
Thank you Sara.
I have found the solution. To use the many U8g2 libraries with Adafruit_GSX:
#include <Adafruit_SSD1306.h>
#include <U8g2_for_Adafruit_GFX.h>
Adafruit_SSD1306 display (/ * MOSI * / 11, / * CLK * / 13, / * DC * / 9, / * RESET * / 8, / * CS * / 10);
U8G2_FOR_ADAFRUIT_GFX u8g2_for_adafruit_gfx;
void setup () {
display.begin (SSD1306_SWITCHCAPVCC);
u8g2_for_adafruit_gfx.begin (display); // connect u8g2 procedures to Adafruit GFX
}…. etc
And then use the own commands of these libraries.
Thanks anyway, for your attention.