#!/usr/bin/env python3 """A stand-in OpenRGB SDK server (protocol 3) with one 80 x 10 "probe" matrix device: each of its 800 leds sits at one pixel of the frame --leds produces, so every UPDATELEDS packet is that frame pixel for pixel. openrgb_probe.py --port 6742 --out dir frames are written as probe_.ppm, a line per packet in calls.log """ import argparse, os, socket, struct, sys, threading, time W, H = 80, 10 def text(s): b = s.encode() + b"\0" return struct.pack("