esp32s3接rgb屏幕引脚问题

dreamcmi
Posts: 30
Joined: Mon May 31, 2021 2:25 am

esp32s3接rgb屏幕引脚问题

Postby dreamcmi » Fri Jan 07, 2022 2:12 pm

之前我用过全志f1c接rgb屏幕,采用的是rgb666接法,即接B7-B2,R7-R2,G7-G2,那么rgb565的接法应该是R7-R3,G7-G2,B7-B3,但是我看esp-lcd的test写法,是

Code: Select all

#define TEST_LCD_DATA0_GPIO    (3)  // B0
#define TEST_LCD_DATA1_GPIO    (4)  // B1
#define TEST_LCD_DATA2_GPIO    (5)  // B2
#define TEST_LCD_DATA3_GPIO    (6)  // B3
#define TEST_LCD_DATA4_GPIO    (7)  // B4
#define TEST_LCD_DATA5_GPIO    (8)  // G0
#define TEST_LCD_DATA6_GPIO    (9)  // G1
#define TEST_LCD_DATA7_GPIO    (10) // G2
#define TEST_LCD_DATA8_GPIO    (11) // G3
#define TEST_LCD_DATA9_GPIO    (12) // G4
#define TEST_LCD_DATA10_GPIO   (13) // G5
#define TEST_LCD_DATA11_GPIO   (14) // R0
#define TEST_LCD_DATA12_GPIO   (15) // R1
#define TEST_LCD_DATA13_GPIO   (16) // R2
#define TEST_LCD_DATA14_GPIO   (17) // R3
#define TEST_LCD_DATA15_GPIO   (18) // R4
即B0-B4,G0-G5,R0-R4,和我的认知不大一样,特来请教正确的连接方式是怎样的
下图是我在全志F1c上的原理图
QQ截图20220107220534.png
QQ截图20220107220534.png (60.88 KiB) Viewed 5576 times

jr-test
Posts: 100
Joined: Mon Aug 23, 2021 3:04 am

Re: esp32s3接rgb屏幕引脚问题

Postby jr-test » Mon Jan 10, 2022 6:52 am

R0->R3 G0->G2 B0->B3
R1->R4 G1->G3 B1->B4
R2->R5 G2->G4 B2->B5
R3->R6 G3->G5 B3->B6
R4->R7 G4->G6 B4->B7
G5->G7

Who is online

Users browsing this forum: Bing [Bot] and 86 guests