Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin issue in ssd1306 #126

Open
HoneyWhiteCloud opened this issue Jan 27, 2024 · 0 comments
Open

Pin issue in ssd1306 #126

HoneyWhiteCloud opened this issue Jan 27, 2024 · 0 comments

Comments

@HoneyWhiteCloud
Copy link

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 HoneyWhiteCloud changed the title Pin pin error in ssd1306 Pin error in ssd1306 Jan 27, 2024
@HoneyWhiteCloud HoneyWhiteCloud changed the title Pin error in ssd1306 Pin issue in ssd1306 Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant