mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Drivers for RGB 16 bit parallel displays (#5872)
Co-authored-by: clydebarrow <366188+clydebarrow@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										40
									
								
								tests/components/rpi_dpi_rgb/test.esp32-s3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								tests/components/rpi_dpi_rgb/test.esp32-s3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| psram: | ||||
|   mode: octal | ||||
|   speed: 80MHz | ||||
| display: | ||||
|   - platform: rpi_dpi_rgb | ||||
|     update_interval: never | ||||
|     auto_clear_enabled: false | ||||
|     id: rpi_display | ||||
|     color_order: RGB | ||||
|     rotation: 90 | ||||
|     dimensions: | ||||
|       width: 800 | ||||
|       height: 480 | ||||
|     de_pin: | ||||
|       number: 40 | ||||
|     hsync_pin: 39 | ||||
|     vsync_pin: 41 | ||||
|     pclk_pin: 42 | ||||
|     data_pins: | ||||
|       red: | ||||
|         - number: 45  # r1 | ||||
|           ignore_strapping_warning: true | ||||
|         - 48        # r2 | ||||
|         - 47        # r3 | ||||
|         - 21        # r4 | ||||
|         - number: 14  # r5 | ||||
|           ignore_strapping_warning: false | ||||
|       green: | ||||
|         - 5         # g0 | ||||
|         - 6         # g1 | ||||
|         - 7         # g2 | ||||
|         - 15        # g3 | ||||
|         - 16        # g4 | ||||
|         - 4         # g5 | ||||
|       blue: | ||||
|         - 8         # b1 | ||||
|         - 3         # b2 | ||||
|         - 46        # b3 | ||||
|         - 9         # b4 | ||||
|         - 1         # b5 | ||||
							
								
								
									
										60
									
								
								tests/components/st7701s/test.esp32-s3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								tests/components/st7701s/test.esp32-s3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,60 @@ | ||||
| psram: | ||||
|   mode: octal | ||||
|   speed: 80MHz | ||||
| spi: | ||||
|   - id: lcd_spi | ||||
|     clk_pin: 41 | ||||
|     mosi_pin: 48 | ||||
|  | ||||
| i2c: | ||||
|   sda: 39 | ||||
|   scl: 40 | ||||
|   scan: false | ||||
|   id: bus_a | ||||
|  | ||||
| pca9554: | ||||
|   - id: p_c_a | ||||
|     pin_count: 16 | ||||
|     address: 0x20 | ||||
|  | ||||
| display: | ||||
|   - platform: st7701s | ||||
|     spi_mode: MODE3 | ||||
|     color_order: RGB | ||||
|     dimensions: | ||||
|       width: 480 | ||||
|       height: 480 | ||||
|     invert_colors: true | ||||
|     transform: | ||||
|       mirror_x: true | ||||
|       mirror_y: true | ||||
|     cs_pin: | ||||
|       pca9554: p_c_a | ||||
|       number: 4 | ||||
|     reset_pin: | ||||
|       pca9554: p_c_a | ||||
|       number: 5 | ||||
|     de_pin: 18 | ||||
|     hsync_pin: 16 | ||||
|     vsync_pin: 17 | ||||
|     pclk_pin: 21 | ||||
|     init_sequence: 1 | ||||
|     data_pins: | ||||
|       - number: 0 | ||||
|         ignore_strapping_warning: true | ||||
|       - 1 | ||||
|       - 2 | ||||
|       - 3 | ||||
|       - number: 4 | ||||
|         ignore_strapping_warning: false | ||||
|       - 5 | ||||
|       - 6 | ||||
|       - 7 | ||||
|       - 8 | ||||
|       - 9 | ||||
|       - 10 | ||||
|       - 11 | ||||
|       - 12 | ||||
|       - 13 | ||||
|       - 14 | ||||
|       - 15 | ||||
		Reference in New Issue
	
	Block a user