Closed
Description
Board
ESP32 Adafruit Feather V2
Device Description
ESP32 Adafruit Feather V2
Hardware Configuration
Builtin button so nothing need be connected
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
compiler fails before flash
PSRAM enabled
yes
Upload speed
compiler fails before flash
Description
#define shouldn't have an equals sign - if used as is it causes compilation errors when using BUTTON in place of pin 38.
Sketch
int button_builtin = BUTTON;
void setup() {
pinMode(button_builtin , INPUT); // built in switch 38
}
void loop() {
Builtin_Status = !digitalRead(button_builtin);
}
Debug Message
dfg
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.