Hi
I am currently working with multiple MCP23017 modules and noticed that if we Could change the Module Address in the program Would save a lot of space.
Right now I am duplicating the macros just for talking to a different module when we could just set a different address in the beginning and use the same macro is this something that can be done, please?
MCP23017 I2C Address
-
- Posts: 141
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 43 times
- Been thanked: 19 times
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: MCP23017 I2C Address
Hi Alan,
Thanks great suggestion. I've now added a new macro for you so you can set the address on the fly.
Let me know how you get on.
Thanks great suggestion. I've now added a new macro for you so you can set the address on the fly.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: MCP23017 I2C Address
Hi Alan,
Sorry about that, should be back for you again now.
Sorry about that, should be back for you again now.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel