Skip to content

Commit 9687055

Browse files
committed
Fixing a typo.
1 parent d291930 commit 9687055

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ the device address.
2020
## Shutdown Mode
2121

2222
Those 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
2424
shutdown mode as long as it is not inhibited by the hardware shutdown line on
2525
MCP42xxx/44xxx.
2626

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=MCP41XXX
2-
version=1.0.0
2+
version=1.0.1
33
author=Max Chan <max@maxchan.info>
44
maintainer=Max Chan <max@maxchan.info>
55
sentence=Driver for Microchip MCP41xxx/42xxx digital potentiometers and MCP43xxx/44xxx digital rheostats.

src/MCP41xxx.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
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.
1618
class MCP41xxx

0 commit comments

Comments
 (0)