|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The green light: on while the detector holds a pulse, from the reading that rose above the threshold to the one that fell below the release, and for at least ESC_STICK_BEEP_LIGHT_MS from the first look that sees a pulse begun, so a pulse that rises and falls between two looks still shows. More...
#include <esc_stick.h>
Data Fields | |
| uint32_t | pulses |
| uint32_t | from_ms |
| bool | held |
The green light: on while the detector holds a pulse, from the reading that rose above the threshold to the one that fell below the release, and for at least ESC_STICK_BEEP_LIGHT_MS from the first look that sees a pulse begun, so a pulse that rises and falls between two looks still shows.
Every pulse lights it, trusted group or not. Off while the supply is not on for the menu (outside ENTRY, HAND_ON, ITEMS, VALUES and STORE) and while no run is under way.
| uint32_t esc_stick_light_t::from_ms |
when that look saw a new pulse
| bool esc_stick_light_t::held |
the minimum time is running
| uint32_t esc_stick_light_t::pulses |
the run's count at the last look