You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I converted 240 * 240png and bits to 2 using image_converter. py in the st7789py driver. After displaying the tft. pbitmap (Picture1,0,0) in thorny, what happened to the yellowing of the photo? Other displayed colors are normal
What's the matter?
The text was updated successfully, but these errors were encountered:
Sorry, I solved the problem a week after raising it, but it was delayed due to academic issues during the exam
The problem lies in the file st7789py_mpy master \ utils \ image_converter. py, where the function rgd_to_color565 encountered an issue when converting RGB888 to RGB565
The original code "return (r&0xF8)<<8) | (g&0xFC)<<3) | (b>>3)" should be changed to "return (r&0xF8)<<8) | (g&0xFC)<<3) | (b&0xF8)>>3"
I converted 240 * 240png and bits to 2 using image_converter. py in the st7789py driver. After displaying the tft. pbitmap (Picture1,0,0) in thorny, what happened to the yellowing of the photo? Other displayed colors are normal
What's the matter?
The text was updated successfully, but these errors were encountered: