Made "pinMode" method extendable #42

Merged
nemoo2580 merged 1 commits from master into master 2018-02-05 19:20:40 +03:00
nemoo2580 commented 2018-02-04 19:06:37 +03:00 (Migrated from github.com)
No description provided.
thomasfredericks commented 2018-02-05 17:05:57 +03:00 (Migrated from github.com)

Hi, thanks for your contribution but can I ask why you need this?

Hi, thanks for your contribution but can I ask why you need this?
nemoo2580 commented 2018-02-05 19:01:22 +03:00 (Migrated from github.com)

I want to extend Bounce2 for Adafruit-MCP23017 library. With this MR I can override "readCurrentState" and "setPinMode" to use with MCP object (mcp.pinMode(pin, mode), mcp.digitalRead(pin)). It can also be useful for other expanders.

I want to extend Bounce2 for Adafruit-MCP23017 library. With this MR I can override "readCurrentState" and "setPinMode" to use with MCP object (mcp.pinMode(pin, mode), mcp.digitalRead(pin)). It can also be useful for other expanders.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Max/thomasfredericks_Bounce2#42