import "github.com/kidoman/embd/controller/mcp4725"
Package mcp4725 allows interfacing with the MCP4725 DAC.
type MCP4725 struct { // Bus to communicate over. Bus embd.I2CBus // Addr of the sensor. Addr byte // contains filtered or unexported fields }
MCP4725 represents a MCP4725 DAC.
New creates a new MCP4725 sensor.
Close puts the DAC into power down mode.
SetPersistedVoltage sets the voltage and programs the EEPROM so that the voltage is restored on reboot.
SetVoltage sets the output voltage.
Package mcp4725 imports 3 packages (graph). Updated 2016-07-16. Refresh now. Tools for package owners.