mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[image] Add byte order option and unit tests (#9326)
This commit is contained in:
		| @@ -1,17 +0,0 @@ | ||||
| spi: | ||||
|   - id: spi_main_lcd | ||||
|     clk_pin: 16 | ||||
|     mosi_pin: 17 | ||||
|     miso_pin: 32 | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: main_lcd | ||||
|     model: ili9342 | ||||
|     cs_pin: 14 | ||||
|     dc_pin: 13 | ||||
|     reset_pin: 21 | ||||
|     invert_colors: true | ||||
|  | ||||
| <<: !include common.yaml | ||||
|  | ||||
| @@ -1,16 +0,0 @@ | ||||
| spi: | ||||
|   - id: spi_main_lcd | ||||
|     clk_pin: 6 | ||||
|     mosi_pin: 7 | ||||
|     miso_pin: 5 | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: main_lcd | ||||
|     model: ili9342 | ||||
|     cs_pin: 3 | ||||
|     dc_pin: 11 | ||||
|     reset_pin: 10 | ||||
|     invert_colors: true | ||||
|  | ||||
| <<: !include common.yaml | ||||
| @@ -1,16 +0,0 @@ | ||||
| spi: | ||||
|   - id: spi_main_lcd | ||||
|     clk_pin: 6 | ||||
|     mosi_pin: 7 | ||||
|     miso_pin: 5 | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: main_lcd | ||||
|     model: ili9342 | ||||
|     cs_pin: 3 | ||||
|     dc_pin: 11 | ||||
|     reset_pin: 10 | ||||
|     invert_colors: true | ||||
|  | ||||
| <<: !include common.yaml | ||||
| @@ -13,4 +13,13 @@ display: | ||||
|     reset_pin: 16 | ||||
|     invert_colors: true | ||||
|  | ||||
| <<: !include common.yaml | ||||
| image: | ||||
|   defaults: | ||||
|     type: rgb565 | ||||
|     transparency: opaque | ||||
|     byte_order: little_endian | ||||
|     resize: 50x50 | ||||
|     dither: FloydSteinberg | ||||
|   images: | ||||
|     - id: test_image | ||||
|       file: ../../pnglogo.png | ||||
|   | ||||
		Reference in New Issue
	
	Block a user