it’s the same problem, as soon as i use rotate i get the 4 boxes…
here with image in original vertical size
imagewidth: “172”
imageheight: “640”
(substitutions used for picking the right image)
display:
- platform: mipi_spi
id: main_display
model: custom
bus_mode: QUAD
color_order: RGB
cs_pin: 9
reset_pin: 21
init_sequence:
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5A, 0xA5]
- [0xC1, 0x33]
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
rotation: 90
update_interval: never
dimensions:
width: 172
height: 640
i get this:
and with image in horizontal size
imagewidth: “640”
imageheight: “172”
display:
- platform: mipi_spi
id: main_display
model: custom
bus_mode: QUAD
color_order: RGB
cs_pin: 9
reset_pin: 21
init_sequence:
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5A, 0xA5]
- [0xC1, 0x33]
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
rotation: 90
update_interval: never
dimensions:
width: 640
height: 172
i get this:
and if i in last example with horizontal image size:
imagewidth: “640”
imageheight: “172”
and leave the dimension as original size:
display:
- platform: mipi_spi
id: main_display
model: custom
bus_mode: QUAD
color_order: RGB
cs_pin: 9
reset_pin: 21
init_sequence:
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5A, 0xA5]
- [0xC1, 0x33]
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
rotation: 90
update_interval: never
dimensions:
width: 172
height: 640
i get this:
and of course if i use image in vertical size
imagewidth: “172”
imageheight: “640”
with no rotate and original vertical dimension:
display:
- platform: mipi_spi
id: main_display
model: custom
bus_mode: QUAD
color_order: RGB
cs_pin: 9
reset_pin: 21
init_sequence:
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5A, 0xA5]
- [0xC1, 0x33]
- [0xBB, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
rotation: 0
update_interval: never
dimensions:
width: 172
height: 640
all is good, i can still see the lines from the “4 boxes” but they disappear after a while:
so no matter what i do, as soon as i use rotate 90 it’s 4 boxes 