adafruit / Adafruit-MCP23017-Arduino-Library

Arduino Library for Adafruit MCP23017
Other
355 stars 204 forks source link

Added readout of output latches using the OLAT register #60

Closed NickB1 closed 3 years ago

NickB1 commented 3 years ago

Added readout of output latches using the OLAT register.

Can be useful to restore output states to your program after a reset of the microcontroller. This way it's not necessary to reset the outputs to get them in sync with your program.

NickB1 commented 3 years ago

Seems there is already a similar pull request: https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library/pull/53

caternuson commented 3 years ago

Thanks for the PR. We just made a major update to this library: https://github.com/adafruit/Adafruit-MCP23017-Arduino-Library/releases/tag/2.0.0 It changes things a lot. If you still want to this feature, please consider updating the PR to be based on the new library layout.

That other PR does look similar. We'll keep both open for now and see what happens. It can also be helpful to first open a new feature request issue for something like this, so PRs can be made relative to that.

caternuson commented 3 years ago

Closing due to lack of response. If this feature is still wanted, please first open an issue to request it.