in python script its this register
Code:
GPPUA = 0x0C # Pull-up resistors for port AGPPUB = 0x0D # Pull-up resistors for port B# Enable pull-up resistors on port Ai2c.write_byte_data(MCP23017_ADDRESS, GPPUA, 0xFF)# Enable pull-up resistors on port Bi2c.write_byte_data(MCP23017_ADDRESS, GPPUB, 0xFF)
Statistics: Posted by koerli — Fri Dec 20, 2024 4:31 pm