Native Components
PWM Controller
A semantic PWM value and enable control. PROVEN on the current ESP32-P4 evidence ledger.
#4 — PWM Controller
A semantic PWM value and enable control.
- —Fan speed
- —LED dimming
- —Motor control
- —Actuator duty-cycle output
Inspector capabilities and presentation
- —Value, range, step and units
- —Enabled state and presentation
- —Horizontal or vertical orientation
- —Clamp and step quantisation
The component remains one serialized Canvas object. Browser Preview, Live Studio and Standalone Export consume its normalized semantic model while internal LVGL composition stays private.
Generated Runtime SDK family
c
void FG_Set_<PWMController>_Value(float value);
float FG_Get_<PWMController>_Value(void);
void FG_Set_<PWMController>_Enabled(bool enabled);
bool FG_Get_<PWMController>_Enabled(void);Interaction and UserEvents
c
void FG_On_<PWMController>_Value_Changed(float value);
void FG_On_<PWMController>_Enabled_Changed(bool enabled);Slider and enable-switch interaction emit their matching hooks. Programmatic setters update silently.
Where hooks exist, implement the exact declarations in 95_UserEvents.c. Runtime SDK calls never simulate user input.
Ownership boundary
ForgeUI owns semantic presentation, private LVGL composition, generated contracts, persisted identity, fixed storage and Browser/Live/Standalone alignment.
Browser, Live, Standalone and ESP32-P4 status
| Surface | Status |
|---|---|
| Browser Preview | Implemented |
| Live Studio | Implemented |
| Standalone Export | Implemented |
| Persisted identity and duplicate isolation | Implemented |
| ESP32-P4 | PROVEN |
