Skip to content

Releases: wollewald/MCP23017_WE

TwoWire object can now be passed to the constructor

15 May 14:52
a8f7c45
Compare
Choose a tag to compare

There are now additional options to create your MCP23017 object:

  • MCP23017 myMCP = MCP23017(MCP_ADDRESS) -> uses Wire / no reset pin (if not needed)
  • MCP23017 myMCP = MCP23017(MCP_ADDRESS, RESET_PIN) -> uses Wire / RESET_PIN
  • MCP23017 myMCP = MCP23017(&wire2, MCP_ADDRESS) -> uses the TwoWire object wire2 / no reset pin
  • MCP23017 myMCP = MCP23017(&wire2, MCP_ADDRESS, RESET_PIN) -> all together

If you pass a Wire object you can use e.g. both I2C busses of an ESP32.

Link to the english version of the related blog post changed

29 Nov 10:23
69127fa
Compare
Choose a tag to compare

For some reasons I had to change the link to the english version of the correspondig blog post.

from:
https://wolles-elektronikkiste.de/port-expander-mcp23017-2?lang=en

to:
https://wolles-elektronikkiste.de/en/port-expander-mcp23017-2

No changes to code.

Removed a bug

28 Oct 17:21
29f8d9d
Compare
Choose a tag to compare

Removed a very stupid bug.

The correct way to clear a bit is of course:

Register &= ~(1<<bitNo)

This was wrong in the functions for setting interrupt polarity, interrupt pin open drain setetting and interrupt mirroring.

Link to english post

25 Oct 11:41
543a4c9
Compare
Choose a tag to compare

I have translated the post in which I describe the library into English and added the link.

No change of code.

Deleted unnecessary delays in MCP23017.cpp

08 Oct 13:50
a944ae9
Compare
Choose a tag to compare

There was an unnecessary delay in MCP23017.cpp. This was a leftover from the testing phase.

Use of reset pin now optional

19 Aug 16:56
2322114
Compare
Choose a tag to compare

You can choose now, if you want to use the reset function. If you don't, you can save one pin.

keywords.txt added

09 Aug 08:24
93a6443
Compare
Choose a tag to compare

keywords.txt has been added

Worked on compiler warnings, some maintenance

30 Jul 20:49
7c892a6
Compare
Choose a tag to compare

Work on some compiler warnings. Therefore I needed to change the function setPort( val, val, Port, Port) into simply setPort( val, val ). The ports as arguments were redundant. This is NOT backwards compatible.

Some work on the format of MCP23017.cpp.

Changed all byte into uint8_t.

Version number corrected

16 May 13:01
f04085a
Compare
Choose a tag to compare

No real change to version 1.2.2. I just had released 1.2.2 before updating version in library.properties. Corrected now.

Wiring plan for basic input output sketch corrected

30 Oct 19:43
2b7a005
Compare
Choose a tag to compare

Wiring plan for basic input output sketch corrected