class documentation

class DACx0501(object):

Constructor: DACx0501(bus, address, v_ref, resolution)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method set_voltage_ Set a value, then calculate DAC value to send to device
Instance Variable res Undocumented
Instance Variable v_ref Undocumented
Method _read_data Read 2 bytes from address addr.
Method _send_data_ Send byte1 and byte2 to addr address
Instance Variable _address Undocumented
Instance Variable _i2c Undocumented
def __init__(self, bus=_channel_I2C, address=_ADC80501_DEFAULT_ADDRESS, v_ref=_v_ref, resolution=_resolution):

Undocumented

def set_voltage_(self, voltage):

Set a value, then calculate DAC value to send to device

res =

Undocumented

v_ref =

Undocumented

def _read_data(self, addr):

Read 2 bytes from address addr.

def _send_data_(self, addr, byte1, byte2):

Send byte1 and byte2 to addr address

_address =

Undocumented

_i2c =

Undocumented