The Pi4ioe5v I/O expander component allows the user to configure inputs, outputs, polarity inversion, and internal pulls via I2C.