30 uint8_t _chipSelectPin;
39 void begin (uint8_t chipSelectPin);
void shutdownMode()
Put the potentiometer in shutdown mode, output B gets tied to the Wiper, and output A is tri-stated...
Definition: MCP41_Simple.cpp:79
MCP41_Simple()
Copyright (C) 2017 James Sleeman.
Definition: MCP41_Simple.cpp:35
void setWiper(uint8_t value)
Set the wiper position of the potentiometer, to a position between 0 and 255.
Definition: MCP41_Simple.cpp:68
Copyright (C) 2017 James Sleeman.
Definition: MCP41_Simple.h:27
void begin(uint8_t chipSelectPin)
Begin communication to the potentiometer using the supplied pin as it's chipSelect.
Definition: MCP41_Simple.cpp:57