Skip to content

Commit

Permalink
Disable pullups on init (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolgordijn authored Feb 19, 2023
1 parent 7a0b1ba commit 208c34c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/MCP23017.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ void MCP23017::init()
//UNIMPLMENTED 0 : unimplemented: Read as ‘0’

writeRegister(MCP23017Register::IOCON, 0b00100000);

//enable all pull up resistors (will be effective for input pins only)
writeRegister(MCP23017Register::GPPU_A, 0xFF, 0xFF);
}

void MCP23017::begin()
Expand Down

0 comments on commit 208c34c

Please sign in to comment.