feat: DDP frame sync over UDP broadcast, DDP acks, DDP enable setting
- Driver acks each completed DDP frame; the test waits for the acks before broadcasting the sync. - Sync listener on UDP 4049: a frame is held until the next sync, then shown. - DDP pixels are shown at full brightness, ignoring the device brightness settings. - "DDP and sync receive on" setting (NVS, network API, web UI); off ignores DDP and sync packets. - ddp_test.py: finds devices on the subnet, drives them in lockstep at a fixed rate, runs animations. - /api/ddp reports sync counters for diagnosis. - Includes in-progress WebSocket, multi-driver web UI and Wi-Fi work from the same tree. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
47f4eba0d6
commit
4cd3bc7973
294 files changed
+48954
-301
No files matched your search
+4
-2
@@ -296,8 +296,10 @@ bool fx_chase(fx_t &f, st_t &s)
|
||||
rgb color1 = ab(nc > 1 ? c[1] : c[0], b);
|
||||
int n1 = nz(f.pr->n[1], 1);
|
||||
int n2 = nz(f.pr->n[2], 1);
|
||||
int n3 = sgn(f, f.pr->n[3]);
|
||||
int n4 = sgn(f, f.pr->n[4]);
|
||||
// Always move forward: a negative n3/n4 would otherwise make the dot bounce back.
|
||||
// sgn() still applies the preset's reverse flag.
|
||||
int n3 = sgn(f, abs(f.pr->n[3]));
|
||||
int n4 = sgn(f, abs(f.pr->n[4]));
|
||||
int seg = n1 + n2;
|
||||
int max_pos = nled + seg;
|
||||
auto position = [&](int sc) {
|
||||
|
||||
Reference in new issue
Block a user