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.
Activity
hairybaboon commentedon Jul 4, 2022
The extra fields of issue report seem to have removed the link to the line of code in question (used to a more simplistic issue reporting setup)
Below is line in question.
arduino-esp32/variants/adafruit_feather_esp32_v2/pins_arduino.h
Line 51 in fcd4799
SuGlider commentedon Jul 4, 2022
@hairybaboon - thanks for reporting!
me-no-dev commentedon Jul 6, 2022
@ladyada PTAL :)