samdenty / Wi-PWN

ESP8266 firmware for performing deauthentication attacks, with ease.
Other
1.53k stars 314 forks source link

Pin issue in ssd1306 #126

Open HoneyWhiteCloud opened 7 months ago

HoneyWhiteCloud commented 7 months ago

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