api: make relay outputs hardware-profile aware
This commit is contained in:
@@ -263,3 +263,17 @@ Primary goal:
|
||||
|
||||
- Keep 2-channel testing functional now.
|
||||
- Support future 6-output rendering/control cleanly through the same API shape.
|
||||
|
||||
## Output-Count-Agnostic Relay API
|
||||
|
||||
The Cargo ESP API now represents relays/outputs as a hardware-profile-aware list instead of hardcoding client assumptions around exactly two relays.
|
||||
|
||||
Current active hardware profile:
|
||||
|
||||
generic_esp32_2ch_relay
|
||||
|
||||
Future planned profile:
|
||||
|
||||
lilygo_t_relay_s3_6ch_wupp
|
||||
|
||||
Current 2-channel testing should continue until the LilyGO board arrives and is bench tested.
|
||||
|
||||
Reference in New Issue
Block a user