Maybe I'm just not doing it right When i try to use a digital multiplexer with dcs bios . I get oscillation in the virtual cockpit. I think it is Because dcs bios is taking every time the channel switches as a button press but that may be the way I have built the code as I am passing the pin as a mux address example mux.channel(2) I'm trying to find a way to store the state of the mux input so when the loop starts over dcsbios doesn't update the state when the channel changes I looked in the switches header file I think I need to change the digitalRead portions to fit my need but Im not sure what I need to do just that something needs changed
Maybe I'm just not doing it right When i try to use a digital multiplexer with dcs bios . I get oscillation in the virtual cockpit. I think it is Because dcs bios is taking every time the channel switches as a button press but that may be the way I have built the code as I am passing the pin as a mux address example mux.channel(2) I'm trying to find a way to store the state of the mux input so when the loop starts over dcsbios doesn't update the state when the channel changes I looked in the switches header file I think I need to change the digitalRead portions to fit my need but Im not sure what I need to do just that something needs changed