Closed
Description
Board
ESP32-C3 Dev Module
Device Description
XIAO ESP32-C3
Hardware Configuration
An Red LED
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Debian 12
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
The gpio configuration is not correct. When I try to program the gpio 5 to blink, the gpio 3 blink's. All the gpio's are 2 bits shifted to the left. I don't know if the problem is with the IDF framework or with the Arduino framework.
Sketch
#define LED_BUILTIN 5 void setup() { pinMode(LED_BUILTIN, OUTPUT); } void loop() { digitalWrite(LED_BUILTIN, HIGH); // blinks gpio 3 delay(1000); digitalWrite(LED_BUILTIN, LOW); // blinks gpio 3 delay(1000); }
Debug Message
Nothing
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.