This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
How to fix red squiggles under constants like D2 (upload works fine) #772
Closed
Description
I've got everything working, except the constants for pins don't seem to be defined:
The upload works fine, and I have no issues in the standard Arduino IDE. I think these come from a file like:
https://github.com/esp8266/Arduino/blob/master/variants/d1/pins_arduino.h
Though ideally I'd like it to be based on the board I have selected automatically (since I switch between different boards).