Heltec Wireless Stick and OLED

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
void loop() {
  Heltec.display->drawString(0, 0, "Hello world"); 

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() {
void loop() {
  display.drawString(0, 0, "Hello world");


This module uses RST signals as well as SDA and SCL for I2C OLED.
Probably requires operate RST pin of OLED.
Please use library corresponding to it.

1 Like

Thanks for your answer. I solved the problem by adding a reset to the pin of the OLED screen in the setup code.

pinMode(16, OUTPUT);
digitalWrite(16, LOW);
digitalWrite(16, HIGH);