LTPS C++ API
Public Member Functions | List of all members
Potentiometer Class Reference

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...
 

Detailed Description

Class for digital potentiometer (Tibbit #40)

Examples:
tibbit40.cpp.

Member Function Documentation

void Potentiometer::setImpedance ( const char *  socket,
unsigned int  impedance,
Imps  max 
)

Set current impedance and saves the value into the ICs EEPROM.

Parameters
socketI2C bus name (eg: s1, s15)
impedanceCurrent value
maxMaximum posible impedance
Examples:
tibbit40.cpp.

The documentation for this class was generated from the following file: