larger fonts on HelTec ESP32 Wifi Kit

I am using the above microcontroller in a voltage monitoring circuit, and I would like to use a larger font that the 8x8's that are provided in the u8x8 library. When I try the UxG2 library, nothing ever renders on the display, and none of the Heltec examples that are int he Examples archive will even compile. Does anyone have any code demonstrating the use of larger fonts on this board? I've spent a day looking for working code, and found none.

Thanks in advance for any suggestions.

jrdoner

I'm using the HelTec Wi-Fi kit 8, which use an ESP8266 and a 128 * 32 OLED display. I am using with Adafruit_SSD1306 library (#include <Adafruit_SSD1306.h>) and it has the ability to change the font size. I don't know if the same library works ESP32 kit, but maybe worth a try.

BTW, I think these are a fantastic bit of kit; Wi-Fi, display, powerful processor and all for a few £££. Not tried the one you are using but I imagine it's even better.

I've found the answer. It would appear to allow the marriage of most OLED displays to the Adafruit library.
As below

#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
#define OLED_RESET 16 // Pins for ESP32 I2C
#define OLED_SDA 4
#define OLED_SCL 15

TwoWire twi = TwoWire(1);
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &twi, OLED_RESET);

void setup()
{
// SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally

twi.begin(4, 15);
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(SSD1306_WHITE);
display.setCursor(20, 20);
display.println("Success!");
display.display();
}

void loop()
{

}

IF you are only interested in text, you can probably do the same thing, and perhaps more efficiently using Lady Ada's ascii libraries.
https://forum.arduino.cc/index.php?topic=510106.0