19#include <piduino/converter.h>
20#include <piduino/i2cdev.h>
The Converter class provides an interface for analog-to-digital and digital-to-analog converters.
static Info defaultBus()
Gets information about the default I2C bus on the system.
I2C GPIO expander controller for the MAX7311 device.
Max7311(int busId=I2cDev::Info::defaultBus().id(), int address=0x20)
Constructs a Max7311 object for the specified I2C bus and device address.
Max7311(Private &dd)
Protected constructor for internal use with PIMPL pattern.
bool setBusTimeout(bool enable)
Sets the bus timeout enable/disable state.
Max7311(const std::string ¶meters)
Constructs a Max7311 object from a parameter string.
bool busTimeout() const
Gets the current bus timeout setting.
static std::string registeredName()
Returns the registered name for this converter type.
virtual ~Max7311()
Virtual destructor that properly cleans up the Max7311 object.
Internal implementation class for GpioDevice.
#define PIMP_DECLARE_PRIVATE(Class)
PIMP_DECLARE_PRIVATE.
Global namespace for Piduino.