public function reverse() { $this->pin_a->low(); $this->pin_b->high(); }
public function toggle() { //This will still work if active low $this->pin->getLevel() === Pin::LEVEL_HIGH ? $this->pin->low() : $this->pin->high(); }