27 #include <mraa/aio.hpp>
29 #include <mraa/gpio.hpp>
30 #include <mraa/spi.hpp>
63 static const uint8_t R_WR_WIPER_A = 0x01;
64 static const uint8_t R_WR_WIPER_B = 0x02;
100 mraa::Gpio m_csnPinCtx;
105 mraa::Result CSOn ();
110 mraa::Result CSOff ();
API for the MAX5487 SPI Digital Potentiometer.
Definition: max5487.h:61
MAX5487(int csn=-1)
Definition: max5487.cxx:34
std::string name()
Definition: max5487.h:93
void setWiperB(uint8_t wiper)
Definition: max5487.cxx:66
void setWiperA(uint8_t wiper)
Definition: max5487.cxx:52