Machine_USBV5xxx.ino

there is a small flaw in the ino machine.

here we have:

    if (watchdogTimer > 10) 
    {
        relayLo = 0;
        relayHi = 0;
    }

we should rather have, otherwise the sections open when the field is closed:

    if (watchdogTimer > 10) 
    {
      if (aogConfig.isRelayActiveHigh) {
        relayLo = 0b11111111;
        relayHi = 0b11111111;
      } else {
        relayLo = 0;
        relayHi = 0;        
      }
    }

and setting watchdogTimer to 12, to avoid an open during the ten 1st cycle of the code.

2 Likes

Thank you for catching this!!

Code added and will be in next release