mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-03 16:41:50 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			405 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			405 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
i2c:
 | 
						|
  - id: i2c_chsc6x
 | 
						|
    scl: 3
 | 
						|
    sda: 9
 | 
						|
 | 
						|
spi:
 | 
						|
  clk_pin: 5
 | 
						|
  mosi_pin: 4
 | 
						|
 | 
						|
display:
 | 
						|
  - platform: ili9xxx
 | 
						|
    id: ili9xxx_display
 | 
						|
    model: GC9A01A
 | 
						|
    invert_colors: True
 | 
						|
    cs_pin: 18
 | 
						|
    dc_pin: 19
 | 
						|
    pages:
 | 
						|
      - id: page1
 | 
						|
        lambda: |-
 | 
						|
          it.rectangle(0, 0, it.get_width(), it.get_height());
 | 
						|
 | 
						|
touchscreen:
 | 
						|
  - platform: chsc6x
 | 
						|
    display: ili9xxx_display
 | 
						|
    interrupt_pin: 20
 |