I have, as generally recommended, only used 1 input on the Arduino for 2-way switches and 2 inputs for 3-way switches and then used the ‘on release’ function to assign actions to the switch positions without a dedicated input. This all works fine until a switch is in the state that does not have an input at start-up for which Mobiflight does not know about until the switch is toggled, meaning that the sim and physical panel are not synchronised. Is there a routine that can be run automatically at start-up that scans the inputs (much like the standard one) but goes something like ‘if no input is detected for any switches, then they must be in the “on release” state, and action accordingly”
Thanks for any help