Wi-PWN icon indicating copy to clipboard operation
Wi-PWN copied to clipboard

Pin issue in ssd1306

Open HoneyWhiteCloud opened this issue 1 year ago • 0 comments

image

When defining the pin for ssd1306 in \ Wi PWN master \ arduino \ Wi PWN \ Wi PWN. ino, the pin number of SCL was incorrectly swapped with the pin number of SDA. The correct code should be "SSD1306 display (0x3c, 4, 5);//GPIO 5=D1, GPIO 4=D2"

image

I'm not sure if this is a pin numbering issue caused by different ESP8266 development boards or an issue with the code itself. At least I have verified this error on three different ESP8266 development boards. IMG_20240127_141028 (This is the test of my ESP8266 development boards)

The following picture is the pin diagram of my ESP8266 development boards. v2-afb9c224d98460efbf9605590a191958_720w

HoneyWhiteCloud avatar Jan 27 '24 06:01 HoneyWhiteCloud