Commit graph

2 commits

Author SHA1 Message Date
monkey-w1n5t0n
b853113ac1 feat(useq-cv): flash scripts per board + handshake status in Outputs panel
- scripts/flash-useq-main.sh + scripts/flash-useq-expander.sh: build + flash
  each uSEQ board via PlatformIO (nix-shell fallback for pio; extra args pass
  through; BOOTSEL hint).
- CV backend: green status now means a CONFIRMED handshake, not just an open
  port. Any valid device->host frame (the firmware streams INPUT at 20 Hz, or an
  identify ack) flips it ready/green; a 2.5s watchdog after open surfaces a red
  'no response from module' if nothing replies. idle/grey when nothing connected.
- Outputs panel CV config: explicit handshake indicator (coloured dot + label —
  green 'Module handshake OK' / amber waiting / red error / grey not connected).
- Docs: firmware README + MAP.md note the scripts.
2026-06-28 22:39:02 +02:00
monkey-w1n5t0n
4656568d4f feat(manifold,firmware): restore uSEQ CV/gate as an Outputs backend
Restores the April-2026 "uSEQ-Celium" functionality (browser → uSEQ
hardware + CV expander over USB Web Serial) as a first-class Manifold
Outputs backend, and re-vendors the RP2040 firmware into the repo.

- protocol v2 (uSEQ-CV): firmware/useq-celium/shared/protocol.h is the
  single source of truth, mirrored by manifold/src/backends/useq-protocol.ts.
  26-byte OUTPUT frame, 11×u16 CV (12-bit) + 3-gate bitfield + XOR; fixed
  topology; host-agnostic so the MEMLNaut RP2350 can emit identical bytes.
  Spec in docs/useq-celium/protocol.md.
- firmware/useq-celium/{main,expander}: PlatformIO RP2040 firmware rewritten
  to v2 from the real April pin maps (expander I2C addr 0x10).
- UseqCvBackend (id cvgate): Web Serial connect/identify/disconnect, 100 Hz
  stream, per-channel dead-zone, gate thresholding; modeled on midi-backend.
  Per-output CvSpec (channel + gateThreshold) on MFParam; config UI in
  OutputsBackendConfig + BackendAdvanced; new "CV / uSEQ" top-dock mode.
- bun-test for the protocol frame layout; MAP.md updated.
2026-06-28 22:30:54 +02:00