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
782 stars 310 forks source link

The blink example doesn't work with wifi kit 8 #1

Closed illxi closed 6 years ago

illxi commented 7 years ago

Blink:18: error: 'LED_BUILTIN' was not declared in this scope

digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level

            ^

exit status 1 'LED_BUILTIN' was not declared in this scope

fedy0 commented 7 years ago

Check the hardware variant you selected. Ensure it's heltec_wifi_kit or heltec_wifi_lora that you selected under board menu (if it's not there then update your SDK) OR Include this in your sketch static const uint8_t LED_BUILTIN = 25 Then recompile

Heltec-Aaron-Lee commented 6 years ago

Very sorry, there don't have a LED for user in WIFI Kit 8...

We will fix it next version.