File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ the device address.
2020## Shutdown Mode
2121
2222Those digi-pots can enter shut down mode. To enter this mode, write
23- ` ADC_SHUTDOWN ` into the pot. Writing any other value will take the gate out of
23+ ` DAC_SHUTDOWN ` into the pot. Writing any other value will take the gate out of
2424shutdown mode as long as it is not inhibited by the hardware shutdown line on
2525MCP42xxx/44xxx.
2626
Original file line number Diff line number Diff line change 11name =MCP41XXX
2- version =1.0.0
2+ version =1.0.1
33author =Max Chan <max@maxchan.info>
44maintainer =Max Chan <max@maxchan.info>
55sentence =Driver for Microchip MCP41xxx/42xxx digital potentiometers and MCP43xxx/44xxx digital rheostats.
Original file line number Diff line number Diff line change 1010
1111#include < Arduino.h>
1212
13- #define ADC_SHUTDOWN UINT16_MAX
13+ #ifndef DAC_SHUTDOWN
14+ #define DAC_SHUTDOWN UINT16_MAX
15+ #endif
1416
1517// / Driver for Microchip MCP41xxx digi-pot.
1618class MCP41xxx
You can’t perform that action at this time.
0 commit comments