#include <AD5161.h>
Definition at line 67 of file AD5161.h.
◆ AD5161_SPI()
AD5161_SPI::AD5161_SPI |
( |
| ) |
|
Create a AD5161_SPI instance with specified address
- Parameters
-
i2c_address | I2C-bus address (default: (0xE2>>1)) |
Definition at line 27 of file AD5161.cpp.
◆ ~AD5161_SPI()
AD5161_SPI::~AD5161_SPI |
( |
| ) |
|
|
virtual |
◆ txrx()
void AD5161_SPI::txrx |
( |
uint8_t * | data, |
|
|
int | size ) |
Send/receive data
- Parameters
-
data | pointer to data buffer |
size | data size |
◆ value()
uint8_t AD5161_SPI::value |
( |
uint8_t | v | ) |
|
Set/Get value
- Parameters
-
v | for potentiometer position |
- Returns
- potentiometer position
Definition at line 30 of file AD5161.cpp.
The documentation for this class was generated from the following files: