Tracks which HDMA effect is currently active and its parameters. More...
Public Attributes | |
| u8 | active_effect |
| u8 | brightness_bot |
| u8 | iris_radius |
| u8 | ripple_amp |
Tracks which HDMA effect is currently active and its parameters.
Only one effect runs at a time. Switching effects requires stopping the previous one first (via stopCurrentEffect()) to avoid HDMA channel conflicts and stale register values.
| u8 EffectState::active_effect |
Currently active effect: 0=none, 1=brightness, 2=color, 3=iris, 4=ripple
| u8 EffectState::brightness_bot |
Bottom brightness for gradient (0=black, 14=nearly full)
| u8 EffectState::iris_radius |
Iris wipe circle radius in pixels (10-200)
| u8 EffectState::ripple_amp |
Water ripple amplitude in pixels (2-24)