27 #include <mraa/aio.hpp> 29 #include <mraa/gpio.hpp> 30 #include <mraa/spi.hpp> 64 static const uint8_t R_WR_WIPER_A = 0x01;
65 static const uint8_t R_WR_WIPER_B = 0x02;
101 mraa::Gpio m_csnPinCtx;
106 mraa::Result CSOn ();
111 mraa::Result CSOff ();
API for the MAX5487 SPI Digital Potentiometer.
Definition: max5487.hpp:62
MAX5487(int csn=-1)
Definition: max5487.cxx:34
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
std::string name()
Definition: max5487.hpp:94
void setWiperB(uint8_t wiper)
Definition: max5487.cxx:66
void setWiperA(uint8_t wiper)
Definition: max5487.cxx:52