mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add some components to the new testing framework (L) (#6195)
This commit is contained in:
22
tests/components/lcd_pcf8574/test.esp32-c3-idf.yaml
Normal file
22
tests/components/lcd_pcf8574/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
i2c:
|
||||
- id: i2c_lcd_pcf8574
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: lcd_pcf8574
|
||||
dimensions: 18x4
|
||||
address: 0x3F
|
||||
user_characters:
|
||||
- position: 0
|
||||
data:
|
||||
- 0b00000
|
||||
- 0b01010
|
||||
- 0b00000
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b10001
|
||||
- 0b01110
|
||||
- 0b00000
|
||||
lambda: |-
|
||||
it.print("Hello World!");
|
22
tests/components/lcd_pcf8574/test.esp32-c3.yaml
Normal file
22
tests/components/lcd_pcf8574/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
i2c:
|
||||
- id: i2c_lcd_pcf8574
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: lcd_pcf8574
|
||||
dimensions: 18x4
|
||||
address: 0x3F
|
||||
user_characters:
|
||||
- position: 0
|
||||
data:
|
||||
- 0b00000
|
||||
- 0b01010
|
||||
- 0b00000
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b10001
|
||||
- 0b01110
|
||||
- 0b00000
|
||||
lambda: |-
|
||||
it.print("Hello World!");
|
22
tests/components/lcd_pcf8574/test.esp32-idf.yaml
Normal file
22
tests/components/lcd_pcf8574/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
i2c:
|
||||
- id: i2c_lcd_pcf8574
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
display:
|
||||
- platform: lcd_pcf8574
|
||||
dimensions: 18x4
|
||||
address: 0x3F
|
||||
user_characters:
|
||||
- position: 0
|
||||
data:
|
||||
- 0b00000
|
||||
- 0b01010
|
||||
- 0b00000
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b10001
|
||||
- 0b01110
|
||||
- 0b00000
|
||||
lambda: |-
|
||||
it.print("Hello World!");
|
22
tests/components/lcd_pcf8574/test.esp32.yaml
Normal file
22
tests/components/lcd_pcf8574/test.esp32.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
i2c:
|
||||
- id: i2c_lcd_pcf8574
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
display:
|
||||
- platform: lcd_pcf8574
|
||||
dimensions: 18x4
|
||||
address: 0x3F
|
||||
user_characters:
|
||||
- position: 0
|
||||
data:
|
||||
- 0b00000
|
||||
- 0b01010
|
||||
- 0b00000
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b10001
|
||||
- 0b01110
|
||||
- 0b00000
|
||||
lambda: |-
|
||||
it.print("Hello World!");
|
22
tests/components/lcd_pcf8574/test.esp8266.yaml
Normal file
22
tests/components/lcd_pcf8574/test.esp8266.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
i2c:
|
||||
- id: i2c_lcd_pcf8574
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: lcd_pcf8574
|
||||
dimensions: 18x4
|
||||
address: 0x3F
|
||||
user_characters:
|
||||
- position: 0
|
||||
data:
|
||||
- 0b00000
|
||||
- 0b01010
|
||||
- 0b00000
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b10001
|
||||
- 0b01110
|
||||
- 0b00000
|
||||
lambda: |-
|
||||
it.print("Hello World!");
|
22
tests/components/lcd_pcf8574/test.rp2040.yaml
Normal file
22
tests/components/lcd_pcf8574/test.rp2040.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
i2c:
|
||||
- id: i2c_lcd_pcf8574
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: lcd_pcf8574
|
||||
dimensions: 18x4
|
||||
address: 0x3F
|
||||
user_characters:
|
||||
- position: 0
|
||||
data:
|
||||
- 0b00000
|
||||
- 0b01010
|
||||
- 0b00000
|
||||
- 0b00100
|
||||
- 0b00100
|
||||
- 0b10001
|
||||
- 0b01110
|
||||
- 0b00000
|
||||
lambda: |-
|
||||
it.print("Hello World!");
|
Reference in New Issue
Block a user