33 static const uint8_t n_channels_ = 4;
48 TetraDac(uint8_t dac_sync_pins[n_channels_], uint8_t eeprom_sync_pin,
49 uint8_t dac_spi_bus_config_pin, uint8_t eeprom_spi_bus_config_pin,
50 uint8_t ldac_pin,
double full_scale = 10.0,
51 uint8_t slot_number = 0);
63 uint8_t
SetVoltage(uint8_t channel,
double voltage,
64 bool update_outputs =
true);
uint8_t GetVoltage(uint8_t channel)
Definition: tetra_dac.cpp:51
void UpdateAnalogOutputs(void)
Definition: tetra_dac.cpp:56
uint8_t SetVoltage(uint8_t channel, double voltage, bool update_outputs=true)
Definition: tetra_dac.cpp:45
uint8_t Initialize(void)
Definition: tetra_dac.cpp:38
Definition: tetra_dac.h:31
uint8_t Begin(void)
Definition: tetra_dac.cpp:30