Add now required invert_colors option to test files referencing ili9xxx (#7367)

This commit is contained in:
Clyde Stubbs 2024-08-30 09:20:01 +10:00 committed by GitHub
parent d754bdde1b
commit 87d801721b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
32 changed files with 32 additions and 0 deletions

View File

@ -11,6 +11,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: false
# Purposely test that `animation:` does auto-load `image:` # Purposely test that `animation:` does auto-load `image:`
# Keep the `image:` undefined. # Keep the `image:` undefined.

View File

@ -11,6 +11,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: false
# Purposely test that `animation:` does auto-load `image:` # Purposely test that `animation:` does auto-load `image:`
# Keep the `image:` undefined. # Keep the `image:` undefined.

View File

@ -11,6 +11,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: false
# Purposely test that `animation:` does auto-load `image:` # Purposely test that `animation:` does auto-load `image:`
# Keep the `image:` undefined. # Keep the `image:` undefined.

View File

@ -11,6 +11,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: false
# Purposely test that `animation:` does auto-load `image:` # Purposely test that `animation:` does auto-load `image:`
# Keep the `image:` undefined. # Keep the `image:` undefined.

View File

@ -11,6 +11,7 @@ display:
cs_pin: 5 cs_pin: 5
dc_pin: 15 dc_pin: 15
reset_pin: 16 reset_pin: 16
invert_colors: false
# Purposely test that `animation:` does auto-load `image:` # Purposely test that `animation:` does auto-load `image:`
# Keep the `image:` undefined. # Keep the `image:` undefined.

View File

@ -11,6 +11,7 @@ display:
cs_pin: 20 cs_pin: 20
dc_pin: 21 dc_pin: 21
reset_pin: 22 reset_pin: 22
invert_colors: false
# Purposely test that `animation:` does auto-load `image:` # Purposely test that `animation:` does auto-load `image:`
# Keep the `image:` undefined. # Keep the `image:` undefined.

View File

@ -12,6 +12,7 @@ display:
dc_pin: GPIO4 dc_pin: GPIO4
reset_pin: reset_pin:
number: GPIO21 number: GPIO21
invert_colors: false
i2c: i2c:
scl: GPIO18 scl: GPIO18

View File

@ -26,6 +26,7 @@ display:
mirror_x: true mirror_x: true
mirror_y: true mirror_y: true
auto_clear_enabled: false auto_clear_enabled: false
invert_colors: false
spi: spi:
clk_pin: 14 clk_pin: 14

View File

@ -11,6 +11,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: false
lambda: |- lambda: |-
// Draw an analog clock in the center of the screen // Draw an analog clock in the center of the screen
int centerX = it.get_width() / 2; int centerX = it.get_width() / 2;

View File

@ -19,6 +19,7 @@ display:
mirror_x: true mirror_x: true
mirror_y: true mirror_y: true
auto_clear_enabled: false auto_clear_enabled: false
invert_colors: false
touchscreen: touchscreen:
- platform: ft63x6 - platform: ft63x6

View File

@ -11,6 +11,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: true
image: image:
- id: binary_image - id: binary_image

View File

@ -11,6 +11,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: true
image: image:
- id: binary_image - id: binary_image

View File

@ -11,6 +11,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: true
image: image:
- id: binary_image - id: binary_image

View File

@ -11,6 +11,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: true
image: image:
- id: binary_image - id: binary_image

View File

@ -11,6 +11,7 @@ display:
cs_pin: 5 cs_pin: 5
dc_pin: 15 dc_pin: 15
reset_pin: 16 reset_pin: 16
invert_colors: true
image: image:
- id: binary_image - id: binary_image

View File

@ -11,6 +11,7 @@ display:
cs_pin: 20 cs_pin: 20
dc_pin: 21 dc_pin: 21
reset_pin: 22 reset_pin: 22
invert_colors: true
image: image:
- id: binary_image - id: binary_image

View File

@ -13,6 +13,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: true
lambda: |- lambda: |-
it.fill(Color(0, 0, 0)); it.fill(Color(0, 0, 0));
it.image(0, 0, id(online_rgba_image)); it.image(0, 0, id(online_rgba_image));

View File

@ -13,6 +13,7 @@ display:
cs_pin: 15 cs_pin: 15
dc_pin: 3 dc_pin: 3
reset_pin: 1 reset_pin: 1
invert_colors: true
lambda: |- lambda: |-
it.fill(Color(0, 0, 0)); it.fill(Color(0, 0, 0));
it.image(0, 0, id(online_rgba_image)); it.image(0, 0, id(online_rgba_image));

View File

@ -11,6 +11,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: false
lambda: |- lambda: |-
// Draw a QR code in the center of the screen // Draw a QR code in the center of the screen
auto scale = 2; auto scale = 2;

View File

@ -11,6 +11,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: false
lambda: |- lambda: |-
// Draw a QR code in the center of the screen // Draw a QR code in the center of the screen
auto scale = 2; auto scale = 2;

View File

@ -11,6 +11,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: false
lambda: |- lambda: |-
// Draw a QR code in the center of the screen // Draw a QR code in the center of the screen
auto scale = 2; auto scale = 2;

View File

@ -11,6 +11,7 @@ display:
cs_pin: 12 cs_pin: 12
dc_pin: 13 dc_pin: 13
reset_pin: 21 reset_pin: 21
invert_colors: false
lambda: |- lambda: |-
// Draw a QR code in the center of the screen // Draw a QR code in the center of the screen
auto scale = 2; auto scale = 2;

View File

@ -11,6 +11,7 @@ display:
cs_pin: 5 cs_pin: 5
dc_pin: 15 dc_pin: 15
reset_pin: 16 reset_pin: 16
invert_colors: false
lambda: |- lambda: |-
// Draw a QR code in the center of the screen // Draw a QR code in the center of the screen
auto scale = 2; auto scale = 2;

View File

@ -11,6 +11,7 @@ display:
cs_pin: 20 cs_pin: 20
dc_pin: 21 dc_pin: 21
reset_pin: 22 reset_pin: 22
invert_colors: false
lambda: |- lambda: |-
// Draw a QR code in the center of the screen // Draw a QR code in the center of the screen
auto scale = 2; auto scale = 2;

View File

@ -18,6 +18,7 @@ display:
data_rate: 40MHz data_rate: 40MHz
dimensions: 320x240 dimensions: 320x240
update_interval: never update_interval: never
invert_colors: false
transform: transform:
mirror_y: false mirror_y: false
mirror_x: false mirror_x: false

View File

@ -12,6 +12,7 @@ display:
cs_pin: 13 cs_pin: 13
dc_pin: 14 dc_pin: 14
reset_pin: 21 reset_pin: 21
invert_colors: false
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());

View File

@ -12,6 +12,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: false
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());

View File

@ -12,6 +12,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: false
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());

View File

@ -12,6 +12,7 @@ display:
cs_pin: 13 cs_pin: 13
dc_pin: 14 dc_pin: 14
reset_pin: 21 reset_pin: 21
invert_colors: false
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());

View File

@ -14,6 +14,7 @@ display:
data_rate: 40MHz data_rate: 40MHz
dimensions: 320x240 dimensions: 320x240
update_interval: never update_interval: never
invert_colors: false
transform: transform:
mirror_y: false mirror_y: false
mirror_x: false mirror_x: false

View File

@ -12,6 +12,7 @@ display:
cs_pin: 15 cs_pin: 15
dc_pin: 4 dc_pin: 4
reset_pin: 5 reset_pin: 5
invert_colors: false
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());

View File

@ -12,6 +12,7 @@ display:
cs_pin: 8 cs_pin: 8
dc_pin: 9 dc_pin: 9
reset_pin: 10 reset_pin: 10
invert_colors: false
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());