06-24-2022 01:06 PM
I am trying to switch a load with a trigger button of a joystick which basically gives a boolean output. I want to switch on alternative taps on the trigger button. I have written code to check even and odd sums but could not make part that actually sum '1' of boolean input. Switch should remain ON until next tap (zero to one OR one to zero shift). Any help?
06-24-2022 02:18 PM
If you've "written code", attach it so we all have a chance to fix it.
06-25-2022 01:45 AM
06-25-2022 02:01 AM
Depending on how the external switch works, maybe a little more code is needed. See here.