Closed elennaro closed 5 years ago
Same for me. I've added this line of code inside the heltec.h file and all is compiling now:
#define Vext 21
@Goliath86 thanks a ton for the hint! and why 21?
@Goliath86 thanks a ton for the hint!
Because 21 is the digital pin of the board that enable/disable the Vext. Only the Heltec LoRa 32 V2 support the Vext functions of the library
@elennaro Hi there, @Goliath86 had given a right solution. Because the pinMap from espressif didn't include our V2 board, use the develop enviroment provided by us will not have such an error. https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series Here is install manual: http://docs.heltec.cn/#/en/user_manual/how_to_install_esp32_Arduino
Thank you @Heltec-Aaron-Lee , I jus didn't get how to install https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series on Platformio.
Board: HTIT-WB32 PlatformIO: version 3.6.4 CLion: 2019.1 EAP OS: fedora 29
Steps to reproduce:
platformio.ini
src/main.cpp
on build I've got this error: