fix(rlcd): use standard write-only SPI
This commit is contained in:
@@ -434,7 +434,10 @@ static error_t start(Device* device) {
|
|||||||
.dc_low_on_param = 0,
|
.dc_low_on_param = 0,
|
||||||
.octal_mode = 0,
|
.octal_mode = 0,
|
||||||
.quad_mode = 0,
|
.quad_mode = 0,
|
||||||
.sio_mode = 1,
|
// The panel is write-only. Match the working MicroPython SPI configuration instead
|
||||||
|
// of enabling ESP-IDF's bidirectional three-wire mode on MOSI; direction switching
|
||||||
|
// in that mode can corrupt long framebuffer writes and show up as vertical stripes.
|
||||||
|
.sio_mode = 0,
|
||||||
.lsb_first = 0,
|
.lsb_first = 0,
|
||||||
.cs_high_active = 0,
|
.cs_high_active = 0,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user