16#include "buttoncontroller.h"
17#include "twowireslave.h"
38 Pcf8574Mux (uint8_t slaveAddress = 0x20, TwoWire & bus = Wire, uint8_t idleValue = 0xFF);
48 Pcf8574Mux (
const String & name, uint8_t slaveAddress = 0x20, TwoWire & bus = Wire, uint8_t idleValue = 0xFF);
84 virtual bool operator== (
const ButtonController &other)
const;
Multiplexer controlled by a PCF8574.
Definition: pcf8574mux.h:27
virtual bool operator==(const ButtonController &other) const
Pcf8574Mux(const String &name, uint8_t slaveAddress=0x20, TwoWire &bus=Wire, uint8_t idleValue=0xFF)
virtual void end()
It close the PCF8574 chip.
Pcf8574Mux(uint8_t slaveAddress=0x20, TwoWire &bus=Wire, uint8_t idleValue=0xFF)
virtual int select(int button)
virtual bool isNull() const
Definition: twowireslave.h:25
SpaIot name space.
Definition: bussettings.h:21