OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Can I invert the output of OSPi in software ? Driving active low logic Reply To: Can I invert the output of OSPi in software ? Driving active low logic

#37112

Ray
Keymaster

Some relay boards are ‘active high’ and some are ‘active low’. The default logic of OSPi is ‘active high’, so you will need to use relays boards that are ‘active high’.

To reverse the logic in software, go to the ‘apply_all_station_bits’ function, and simply reserve the bits that are being pushed to the shift register.