Commit Graph
7 Commits
Author SHA1 Message Date
Matt SpencerandCopilot c92adaed01 docs: license the project under the MIT License
Add the LICENSE file, declare the license in Cargo.toml, and say so in the
README. The Zigbee stack in vendor/zigbee-rs is a separate project and keeps
its own licenses (MIT or Apache-2.0).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-29 00:38:36 +00:00
Matt Spencer 3e5ef7570f feat: add RGB color picker support 2026-11-17 23:26:50 +00:00
Matt Spencer 9793bc62af feat(encoder): trigger on B and sample A
Waiting on both phases via select drops the pending future each time the
other fires, so B's edges were being lost and a later sample of B always
read it back at rest. Triggering on B's falling edge and sampling A there
is stable on this encoder.

Also moves the encoder to D10/D9/D8 next to the power pads, drops the
strip to a single LED for bring-up, and makes saturation an adjustable
axis so the light defaults to white.
2026-10-17 18:22:09 +01:00
Matt Spencer ebc2f3be7a feat(led): use the published esp-hal-smartled driver
Moves the whole esp stack to esp-hal 1.2 (see the zigbee-rs submodule),
which lets esp-hal-smartled 0.18 be used unmodified from crates.io
instead of a hand-rolled RMT driver.
2026-10-17 15:58:22 +01:00
Matt Spencer 1ec7408f8e checkpoint: vendored esp-hal-smartled with widened esp-hal bound 2026-10-17 15:49:50 +01:00
Matt Spencer e021ab751a refactor(led): drive the strip through the smart-leds traits
Replaces the hand-rolled Rgb type, HSV conversion and brightness scaling
with RGB8, hsv2rgb, gamma and brightness from smart-leds, and exposes the
driver as SmartLedsWriteAsync. The RMT symbol encoding stays in-tree: no
upstream RMT driver currently targets esp-hal 1.1.
2026-10-17 15:42:13 +01:00
Matt Spencer bb81182daa feat: bootstrap esp32-c6 embassy lighting controller 2026-10-17 15:21:58 +01:00