MAX5487 Class
- ID: max5487
- Name: Digital Potentiometer
- Category: digipot
- Manufacturer: maxim
- Connection: spi
- Link: https://www.maximintegrated.com/en/products/analog/data-converters/digital-potentiometers/MAX5487.html
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.
Methods
MAX5487
(
Number
-
csn
Instantiates an MAX5487 object
Parameters:
-
csn
NumberCSN to use, if any; by default, ICSP CS (-1) is used
Returns:
Number:
setWiperA
(
-
wiper
MAX5487 object destructor, closes all IO connections no more needed as the connections will be closed when m_spi and m_csnPinCtx will go out of scope ~MAX5487 (); Sets a wiper for port A.
Parameters:
-
wiper
Numberundefined
setWiperB
(
-
wiper
Sets a wiper for port B.
Parameters:
-
wiper
Numberundefined
name
()
String
Returns the name of the component
Returns:
String: