Merge branch 'main' of https://github.com/dixi83/ESPhome_ButtonPlus
This commit is contained in:
@@ -110,7 +110,7 @@ display:
|
|||||||
mode:
|
mode:
|
||||||
output: true
|
output: true
|
||||||
inverted: false
|
inverted: false
|
||||||
update_interval: 200ms
|
update_interval: 500ms
|
||||||
show_test_card: false
|
show_test_card: false
|
||||||
dimensions:
|
dimensions:
|
||||||
height: 240
|
height: 240
|
||||||
@@ -122,6 +122,7 @@ display:
|
|||||||
- id: display_j3_Left
|
- id: display_j3_Left
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -142,6 +143,7 @@ display:
|
|||||||
- id: display_j3_Right
|
- id: display_j3_Right
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
|
|||||||
@@ -154,6 +154,7 @@ display:
|
|||||||
- id: display_j1_main
|
- id: display_j1_main
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ili9341
|
model: ili9341
|
||||||
|
color_order: bgr
|
||||||
invert_colors: false
|
invert_colors: false
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
@@ -176,6 +177,7 @@ display:
|
|||||||
- id: display_j2_Left
|
- id: display_j2_Left
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -196,6 +198,7 @@ display:
|
|||||||
- id: display_j2_Right
|
- id: display_j2_Right
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -219,6 +222,7 @@ display:
|
|||||||
- id: display_j3_Left
|
- id: display_j3_Left
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -239,6 +243,7 @@ display:
|
|||||||
- id: display_j3_Right
|
- id: display_j3_Right
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
|
|||||||
@@ -209,6 +209,7 @@ display:
|
|||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ili9341
|
model: ili9341
|
||||||
invert_colors: false
|
invert_colors: false
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -230,6 +231,7 @@ display:
|
|||||||
- id: display_j1_Left
|
- id: display_j1_Left
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -250,6 +252,7 @@ display:
|
|||||||
- id: display_j1_Right
|
- id: display_j1_Right
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -273,6 +276,7 @@ display:
|
|||||||
- id: display_j2_Left
|
- id: display_j2_Left
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -293,6 +297,7 @@ display:
|
|||||||
- id: display_j2_Right
|
- id: display_j2_Right
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -316,6 +321,7 @@ display:
|
|||||||
- id: display_j3_Left
|
- id: display_j3_Left
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
@@ -336,6 +342,7 @@ display:
|
|||||||
- id: display_j3_Right
|
- id: display_j3_Right
|
||||||
platform: ili9xxx
|
platform: ili9xxx
|
||||||
model: ST7735
|
model: ST7735
|
||||||
|
color_order: bgr
|
||||||
dc_pin:
|
dc_pin:
|
||||||
number: GPIO37
|
number: GPIO37
|
||||||
allow_other_uses: true
|
allow_other_uses: true
|
||||||
|
|||||||
+8
-3
@@ -7,16 +7,17 @@
|
|||||||
## ##
|
## ##
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
flash_size: 16MB
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
- id: temperature_sensor
|
- id: temperature_sensor
|
||||||
sda: GPIO1
|
sda: GPIO1
|
||||||
scl: GPIO2
|
scl: GPIO2
|
||||||
scan: true
|
|
||||||
- id: buttons
|
- id: buttons
|
||||||
sda: GPIO47
|
sda: GPIO47
|
||||||
scl: GPIO48
|
scl: GPIO48
|
||||||
scan: true
|
frequency: 400khz
|
||||||
frequency: 200khz
|
|
||||||
|
|
||||||
spi:
|
spi:
|
||||||
clk_pin: GPIO36
|
clk_pin: GPIO36
|
||||||
@@ -27,10 +28,14 @@ output:
|
|||||||
pin: GPIO46
|
pin: GPIO46
|
||||||
id: displays_mini_backlight_pwm
|
id: displays_mini_backlight_pwm
|
||||||
inverted: True
|
inverted: True
|
||||||
|
max_power: 0.4
|
||||||
|
frequency: 500Hz
|
||||||
- platform: ledc
|
- platform: ledc
|
||||||
pin: GPIO3
|
pin: GPIO3
|
||||||
id: display_main_backlight_pwm
|
id: display_main_backlight_pwm
|
||||||
inverted: True
|
inverted: True
|
||||||
|
max_power: 0.3
|
||||||
|
frequency: 500Hz
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: sts3x
|
- platform: sts3x
|
||||||
|
|||||||
Reference in New Issue
Block a user