HelTecAutomation / Heltec_ESP8266

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

How to use with PlatformIO? #7

Closed jov58 closed 3 years ago

jov58 commented 3 years ago

Hi,

I've installed this lib with Visual Studio Code and PlatformIO via PIO Home ==> Libraries ==> Heltec_ESP8266 as advised:

[env:my_build_env]
platform = espressif8266
board = heltec_wifi_kit_8
framework = arduino
lib_deps =
  # RECOMMENDED
  # Accept new functionality in a backwards compatible manner and patches
  heltecautomation/Heltec_ESP8266 @ ^1.0.3

and then try to compile the simple Hello World example but I got a lot of errors, starting with:

src/heltec.h:24:5: error: 'SSD1306Wire' does not name a type

Any advise on how to compile this?