Skip to content

Commit 208c34c

Browse files
authored
Disable pullups on init (#32)
1 parent 7a0b1ba commit 208c34c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/MCP23017.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ void MCP23017::init()
2525
//UNIMPLMENTED 0 : unimplemented: Read as ‘0’
2626

2727
writeRegister(MCP23017Register::IOCON, 0b00100000);
28-
29-
//enable all pull up resistors (will be effective for input pins only)
30-
writeRegister(MCP23017Register::GPPU_A, 0xFF, 0xFF);
3128
}
3229

3330
void MCP23017::begin()

0 commit comments

Comments
 (0)