Hi, I recently bought the heltec wireless stick board that has a 0.49 "oled screen, using a very basic example from the heltec library to display text on the screen it works
#include "heltec.h"
void setup() {
Heltec.begin(true, false, false); // Display, LoRa, Serial
Heltec.display->clear();
}
void loop() {
Heltec.display->drawString(0, 0, "Hello world");
Heltec.display->display();
}
but my problem is that I don't want to use the heltec library (which includes the configuration for the display, LoRa and serial port), but if I need something I add it on my own. This is the code I made for the basic example, but it doesn't show anything on the display
#include <Wire.h>
#include "SSD1306Wire.h"
SSD1306Wire display(0x3c, 4, 15, GEOMETRY_64_32);
void setup() {
display.init();
display.flipScreenVertically();
display.clear();
}
void loop() {
display.drawString(0, 0, "Hello world");
display.display();
}