19#include <piduino/converter.h>
20#include <piduino/i2cdev.h>
83 explicit Mcp4725 (
const std::string ¶meters);
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.
Class for the MCP4725 series of digital-to-analog converters.
static constexpr int DefaultAddress
Default I2C address for the MCP4725.
Mcp4725(Private &dd)
Protected constructor for internal use with PIMPL pattern.
Mcp4725(const std::string ¶meters)
Constructs a Mcp4725 object from a string of parameters.
virtual ~Mcp4725()
Virtual destructor for the Mcp4725 class.
static std::string registeredName()
Returns the name registered for this converter.
Mcp4725(int busId=I2cDev::Info::defaultBus().id(), int address=DefaultAddress)
Constructs a Mcp4725 object with the specified I2C device and parameters.
static constexpr double DefaultFullScaleRange
Default full-scale range for the MCP4725.
Internal implementation class for GpioDevice.
#define PIMP_DECLARE_PRIVATE(Class)
PIMP_DECLARE_PRIVATE.
Global namespace for Piduino.