Heltec-Aaron-Lee / WiFi_Kit_series

Arduino source codes and toolchain for WiFi_Kit_series made by HelTecAutomation.
GNU Lesser General Public License v2.1
737 stars 305 forks source link

Trying to compile a demo for the OLED #179

Open jpelletier opened 1 year ago

jpelletier commented 1 year ago

There is no example for the OLED in the Arduino IDE, so I tried to compile this one: ~/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.7/libraries/Heltec-Example/examples/OLED/SSD1306_I2C/SimpleDemo$

HT_SSD1306Wire.h: No such file or directory

jpelletier commented 1 year ago

I installed the Heltec ESP32 Dev-boards library and examples appeared in the Arduino examples. Selected OLED and it worked!

PKeyes505 commented 1 year ago

The Examples works great on a V2 board but for a V3 board you need to copy the heltec.h and heltec.cpp file from this repo to your src directory next to your main.cpp. Also install the Heltec ESP32 Dev-Boards @ 1.1.1 from your Library Manager.