Closed vroland closed 7 months ago
@martinberlin If you have the time, can you check if this fixes your issues with the color display?
Hello Valentin,
I can confirm this works now perfectly with color.
For some reason still out of my reach after merging this into s3_color_implementation branch now I need to swap colors. But the colors work correctly without the jump in row 1000. Great fix thanks a lot! If I remember well that is the right order when you look in the microscope to the color filter (RBG)
-107,13 +107,13 @@ uint8_t epd_get_panel_color(int x, int y, uint8_t r, uint8_t g, uint8_t b) {
switch (c)
{
case 0:
- return gamme_curve[r]; // R
+ return gamme_curve[g]; // Green
break;
case 1:
- return gamme_curve[b]; // B
+ return gamme_curve[r]; // Red
break;
default:
- return gamme_curve[g];
+ return gamme_curve[b];
}
}
This PR changes also fixes the line start which may shift your color arrangement. But good to hear that it works :+1:
This PR fixes an issue where the CKV clock would drift for 8 bit screen due to the use of dummy cycles which work around an issue in the ESP32 LCD FIFO. Additionally, dummy cycles are now also used for 16-bit parallel displays, fixing a pixel offset issue.