revk/SolarSystem

Edge input logic for multiple (or) inputs

Closed this issue · 0 comments

revk commented

When, for example, multiple exit buttons, handle button stuck per button and still allow a working exit button.

At present it is aggregate of inputs.

One way to handle this would be the pulsed “input” logic so the stuck input is seen as logically no longer active after a while. This is a previous issue which was never done but now has a practical use case. However it would hide that the input is stuck and make diagnosis really difficult.

So maybe this needs some “edge” logic for aggregated inputs more generally such as “exit” button. Indeed exit button may be the only one?

We report name of input now, from the function, maybe always report most recent name and we can see name changed as new trigger when needed.