Add high-speed persistent TCP color video stream port (8083) using tight read loop optimization

This commit is contained in:
Adolfo Reyna
2026-06-19 13:45:18 -04:00
parent 30aff5eb8b
commit b2bcdb5b79
2 changed files with 202 additions and 5 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ class RLCD:
print("Error drawing BMP on RLCD:", e)
return False
def draw_rgb565(self, x, y, w, h, data):
def draw_rgb565(self, x, y, w, h, data, sync_canvas=True):
"""Draw raw RGB565 pixel data converted to 1-bit monochrome on the RLCD."""
for cy in range(h):
screen_y = y + cy