HelTecAutomation / Heltec_ESP8266

Arduino library for Heltec ESP8266 based boards
Other
54 stars 18 forks source link

Update heltec.h #5

Closed sonictl closed 3 years ago

sonictl commented 3 years ago

When I use vsCode+PlatformIO to compile the "helloWorld" oled example for 'wifi_kit_8' board, I met the error that saying the 'OLED_RST' undefined for compiling heltec.cpp. By adding line '#define OLED_RST 16', this error got fixed and compiling got succeeded. By the way, if the developer wants the #ifdefined(WIFI_Kit_8) work, one should add build_flags = -D KIFI_Kit_8 in the platformio.ino file.