| 
    upm
    0.3.2
    
   Sensor/Actuator repository for libmraa (v0.7.2) 
   | 
 
API for the MAX5487 SPI Digital Potentiometer. More...
Maxim Integrated* MAX5487 is a dual, 256-tap, nonvolatile, SPI, linear-taper digital potentiometer. This module was tested on the Maxim Integrated MAX5487PMB1 PMOD module from the analog PMOD kit.
Public Member Functions | |
| MAX5487 (int csn=-1) | |
| ~MAX5487 () | |
| void | setWiperA (uint8_t wiper) | 
| void | setWiperB (uint8_t wiper) | 
| std::string | name () | 
Static Public Attributes | |
| static const uint8_t | R_WR_WIPER_A = 0x01 | 
| static const uint8_t | R_WR_WIPER_B = 0x02 | 
| MAX5487 | ( | int | csn = -1 | ) | 
Instantiates an MAX5487 object
| csn | CSN to use, if any; by default, ICSP CS (-1) is used | 
| void setWiperA | ( | uint8_t | wiper | ) | 
Sets a wiper for port A.
| void setWiperB | ( | uint8_t | wiper | ) | 
Sets a wiper for port B.
      
  | 
  inline | 
Returns the name of the component
 1.8.9.1