mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[image] Add byte order option and unit tests (#9326)
This commit is contained in:
		
							
								
								
									
										20
									
								
								tests/component_tests/image/config/image_test.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								tests/component_tests/image/config/image_test.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| esphome: | ||||
|   name: test | ||||
|  | ||||
| esp32: | ||||
|   board: esp32s3box | ||||
|  | ||||
| image: | ||||
|   - file: image.png | ||||
|     byte_order: little_endian | ||||
|     id: cat_img | ||||
|     type: rgb565 | ||||
|  | ||||
| spi: | ||||
|   mosi_pin: 6 | ||||
|   clk_pin: 7 | ||||
|  | ||||
| display: | ||||
|   - platform: mipi_spi | ||||
|     id: lcd_display | ||||
|     model: s3box | ||||
		Reference in New Issue
	
	Block a user