Closed
Description
I use this code:
void setup() {
pinMode(4, OUTPUT);
}
void loop() {
digitalWrite(4,0);
delay(1000);
digitalWrite(4,1);
delay(1000);
}
The esp8266-12 should change the state of pin GPIO4 but it changes the state of GPIO5 instead. Is the pin diagram wrong?
The pin diagram of ESP8266-12 look like in this link: https://raw.githubusercontent.com/Links2004/Arduino/esp8266/docs/ESP_improved_stability.png
Metadata
Metadata
Assignees
Labels
No labels