Skip to content

Commit 6196c96

Browse files
authored
Update README.md
1 parent 678d608 commit 6196c96

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ This library provides full control over the Microchip's [MCP23017](https://www.m
1111
* Full interrupt support
1212

1313
## Usage
14-
Unlike most Arduino library, no default instance is created when the library is included. It's up to you to create one with the appropriate chip I2C address.
14+
Unlike most Arduino library, no default instance is created when the library is included. It's up to you to create one using the appropriate I2C address based on MCP23017 `A0`, `A1` and `A2` pins wirings.
15+
Available addresses go from `0x20` to `0x27`, allowing up to 8 MCP23017 on the same I2C bus.
1516

1617
```cpp
1718
#include <Arduino.h>
@@ -32,4 +33,4 @@ Major renames have been performed in v2.0.0 to improve compatibility with a vari
3233
| `MCP23017_REGISTER` | `MCP23017Register` |
3334
| `MCP23017_INTMODE` | `MCP23017InterruptMode` |
3435

35-
In addition to this, every member of the `MCP23017Register` enum were renamed to avoid possible conflicts with macro definitions. `GPIOA` was renamed to `GPIO_A`, `INTCAPA` to `INTCAP_A` and so on...
36+
In addition to this, every member of the `MCP23017Register` enum were renamed to avoid possible conflicts with macro definitions. `GPIOA` was renamed to `GPIO_A`, `INTCAPA` to `INTCAP_A` and so on...

0 commit comments

Comments
 (0)