diff --git a/fedac/native/kernel/config-minimal b/fedac/native/kernel/config-minimal index 1c1e13bf4b..5e84493fcb 100644 --- a/fedac/native/kernel/config-minimal +++ b/fedac/native/kernel/config-minimal @@ -3343,6 +3343,8 @@ CONFIG_USB_SERIAL=y # CONFIG_USB_SERIAL_GENERIC is not set # CONFIG_USB_SERIAL_SIMPLE is not set CONFIG_USB_SERIAL_FTDI_SIO=y +CONFIG_USB_SERIAL_CP210X=y +CONFIG_USB_SERIAL_CH341=y # # USB Miscellaneous drivers diff --git a/fedac/native/pieces/notepat.mjs b/fedac/native/pieces/notepat.mjs index 7894201218..144e75bffc 100644 --- a/fedac/native/pieces/notepat.mjs +++ b/fedac/native/pieces/notepat.mjs @@ -473,11 +473,12 @@ let bgTarget = dark ? [20, 20, 25] : [240, 238, 232]; // DMX light mirrors bgColor via system.dmxSend (USB DMX PRO widget). // dmxMap turns rgb into universe slots (index 0 = channel 1) — swap this -// per fixture. House light: Chauvet Wedge Tri, 3ch personality at d.490 -// (plain R G B on 490/491/492, no dimmer gate). One reused frame buffer. -const dmxSlots = new Array(492).fill(0); +// per fixture. House default: 3ch rgb at the TOP of the universe, d.510 +// (R 510, G 511, B 512 — a 3ch head can't start higher). Shared with +// npscore.mjs and Menu Band's DMXOut. One reused full-universe buffer. +const dmxSlots = new Array(512).fill(0); const dmxMap = (r, g, b) => { - dmxSlots[489] = r; dmxSlots[490] = g; dmxSlots[491] = b; + dmxSlots[509] = r; dmxSlots[510] = g; dmxSlots[511] = b; return dmxSlots; }; let dmxLast = [-1, -1, -1]; diff --git a/fedac/native/pieces/npscore.mjs b/fedac/native/pieces/npscore.mjs index 3adddad66c..7d74e479b5 100644 --- a/fedac/native/pieces/npscore.mjs +++ b/fedac/native/pieces/npscore.mjs @@ -47,10 +47,10 @@ const DRUM_LETTER = { ride: "b", crash: "c#", splash: "d#", cowbell: "f#", block: "g#", tambo: "a#", }; -// House fixture map — Chauvet Wedge Tri, 3ch at d.490 (see notepat.mjs). -const dmxSlots = new Array(492).fill(0); +// House fixture map — 3ch rgb at d.510, top of the universe (see notepat.mjs). +const dmxSlots = new Array(512).fill(0); const dmxMap = (r, g, b) => { - dmxSlots[489] = r; dmxSlots[490] = g; dmxSlots[491] = b; + dmxSlots[509] = r; dmxSlots[510] = g; dmxSlots[511] = b; return dmxSlots; };