I need something similar for irrigation control, but on one condition: If one of the n outputs are in 1 then GPIOx will be in 1. Bone GPIO = 0 if only if all outputs = 0.
Nahitaji kitu sawa kwa ajili ya udhibiti wa umwagiliaji, lakini kwa sharti moja tu: Kama moja ya n eleweka ni katika 1 Kisha GPIOx itakuwa katika 1. Mfupa GPIO = 0 kama ikiwa wote eleweka tu = 0.