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 assignment confusion #1

Open
nicwilson58 opened this issue Dec 20, 2024 · 2 comments
Open

pin assignment confusion #1

nicwilson58 opened this issue Dec 20, 2024 · 2 comments

Comments

@nicwilson58
Copy link

I am a little confused, I beleived this was for the Waveshare ESP32-S3 LCD 7 which i have but the pin assignements in Waveshare_7_LVGL_9 dont match the pin assigments for the board. They are assigned as:

Arduino_ESP32RGBPanel rgbpanel = new Arduino_ESP32RGBPanel(
5 /
DE /, 3 / VSYNC /, 46 / HSYNC /, 7 / PCLK /,
1 /
R0 /, 2 / R1 /, 42 / R2 /, 41 / R3 /, 40 / R4 /,
39 /
G0 /, 0 / G1 /, 45 / G2 /, 48 / G3 /, 47 / G4 /, 21 / G5 /,
14 /
B0 /, 38 / B1 /, 18 / B2 /, 17 / B3 /, 10 / B4 /,
0 /
hsync_polarity /, 8 / hsync_front_porch /, 4 / hsync_pulse_width /, 8 / hsync_back_porch /,
0 /
vsync_polarity /, 8 / vsync_front_porch /, 4 / vsync_pulse_width /, 8 / vsync_back_porch /,
1 /
pclk_active_neg /, 16000000 / prefer_speed */)

yet the board has these assignements, and does not have some of the pins above, so I am puzzled.
GPIO0 | G3
GPIO1 | R3
GPIO2 | R4
GPIO3 | VSYNC
GPIO4 | TP_IRQ
GPIO5 | DE
GPIO7 | PCLK
GPIO8 | TP_SDA
GPIO9 | TP_SCL
GPIO10 | B7
GPIO14 | B3
GPIO17 | B6
GPIO18 | B5
GPIO21 | G7
GPIO38 | B4
GPIO39 | G2
GPIO40 | R7
GPIO41 | R6
GPIO42 | R5
GPIO45 | G4
GPIO46 | HSYNC
GPIO47 | G6
GPIO48 | G5
EXIO1 | TP_RST
EXIO2 | DISP 
EXIO3 | LCD_RST

@paulhamsh
Copy link
Owner

I've added a comparison to the bottom of the readme - I think it is just naming convention between Waveshare WIKI and the libraries - let me know!

@nicwilson58
Copy link
Author

thanks, that makes perfect sense, I shall test it and respond.

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

2 participants