LTPS C++ API
|
Class for digital potentiometer (Tibbit #40) More...
#include <potentiometer.h>
Public Member Functions | |
void | setImpedance (const char *socket, unsigned int impedance, Imps max) |
Set current impedance and saves the value into the ICs EEPROM. More... | |
Class for digital potentiometer (Tibbit #40)
void Potentiometer::setImpedance | ( | const char * | socket, |
unsigned int | impedance, | ||
Imps | max | ||
) |
Set current impedance and saves the value into the ICs EEPROM.
socket | I2C bus name (eg: s1, s15) |
impedance | Current value |
max | Maximum posible impedance |