Microchip MCP4725 12-bit DAC
More...
|
| Mcp4725 (I2C i2c, bool addr=false, double refVoltage=3.3, int speed=400) |
| Construct an MCP4725 More...
|
|
| Mcp4725 (I2C i2c, byte address, double refVoltage=3.3, int speed=400) |
| Construct an MCP4725 More...
|
|
|
double | ReferenceVoltage [get, protected set] |
| Gets the reference voltage of this DAC More...
|
|
double | Voltage [get, set] |
| Get or set the output voltage of the DAC More...
|
|
double | Value [get, set] |
| Get or set the output value of the DAC, normalized from 0-1 More...
|
|
int | DacValue [get, set] |
| Get or set the raw, 12-bit value of the DAC More...
|
|
Microchip MCP4725 12-bit DAC
◆ Mcp4725() [1/2]
Mcp4725 |
( |
I2C |
i2c, |
|
|
bool |
addr = false , |
|
|
double |
refVoltage = 3.3 , |
|
|
int |
speed = 400 |
|
) |
| |
Construct an MCP4725
- Parameters
-
i2c | The I2c bus this DAC is attached to |
addr | The address pin state |
refVoltage | The voltage of the VDD pin |
speed | The speed to use |
◆ Mcp4725() [2/2]
Mcp4725 |
( |
I2C |
i2c, |
|
|
byte |
address, |
|
|
double |
refVoltage = 3.3 , |
|
|
int |
speed = 400 |
|
) |
| |
Construct an MCP4725
- Parameters
-
i2c | The I2c bus this DAC is attached to |
address | The address to use |
refVoltage | The voltage of the VDD pin |
speed | The speed to use |
◆ ReferenceVoltage
Gets the reference voltage of this DAC
◆ Voltage
Get or set the output voltage of the DAC
◆ Value
Get or set the output value of the DAC, normalized from 0-1
◆ DacValue
Get or set the raw, 12-bit value of the DAC
The documentation for this class was generated from the following file:
- F:/Git/treehopper-sdk/NET/API/Treehopper.Libraries/IO/Dac/Mcp4725.cs