MeshCore/examples/companion_radio
Ryan Gregg e2aa33b3a0 Add centralized LEDManager for configurable LED behavior
Adds a LEDManager class (src/helpers/ui/LEDManager.h) that centralizes
all LED control into one component with begin()/loop() lifecycle and
per-pin active-HIGH/LOW polarity support.

LED settings are exposed as custom vars (led.status, led.activity)
accessible via companion radio binary protocol, CLI set/get commands,
and the SensorManager settings interface.

Status LED modes: off, boot-30s, slow blink (200ms/4s), always on.
Activity LED modes: off, BLE only, LoRa TX only, BLE + LoRa TX.

Integrated into 23 board variants, replacing scattered hardcoded
digitalWrite calls in onBeforeTransmit/onAfterTransmit/powerOff.
2026-03-20 18:19:44 -07:00
..
ui-new Add muted icon to show when buzzer is muted 2026-02-11 10:00:20 +01:00
ui-orig Add battery min/max voltage parameter support 2026-01-28 22:24:49 -07:00
AbstractUITask.h ♻️ refactor: unify UI notification methods into single notify() function 2025-09-17 08:56:18 +08:00
DataStore.cpp Rename sx126x_rx_boosted_gain to rx_boosted_gain 2026-03-05 18:14:47 +00:00
DataStore.h add DataStore::deleteBlobByKey() 2026-02-01 00:02:29 +11:00
main.cpp Add centralized LEDManager for configurable LED behavior 2026-03-20 18:19:44 -07:00
MyMesh.cpp Merge branch 'dev' into 2026/remote-lna 2026-03-16 09:40:10 +00:00
MyMesh.h * version 1.14.1 2026-03-20 12:32:41 +11:00
NodePrefs.h Rename sx126x_rx_boosted_gain to rx_boosted_gain 2026-03-05 18:14:47 +00:00