libgpiod icon indicating copy to clipboard operation
libgpiod copied to clipboard

Feature request: gpiomon --initial-state

Open thendrickson opened this issue 2 months ago • 1 comments

I'd like an optional parameter e.g. gpiomon --initial-state to output the initial state active or inactive. Just as gpioget would report. When using gpiomon in scripts there is always a window of time for a gpio edge to occur before gpiomon starts running. This initial state would allow me to prime my state machine properly even if I missed an edge.

thendrickson avatar Oct 27 '25 23:10 thendrickson

Makes sense, I guess.

brgl avatar Oct 28 '25 08:10 brgl