I would like to use the MCP23017 16IO port exander in i2c version of Microchip. I sow that there are a lot of post here, infact the library from http://forum.codesys.com/viewtopic.php?f=23&t=5872&p=10868#p11014 has been download and implemented successfully.
The hardware has not been tested yet, but I just took a look inside the library. It's very simple but I would like ask you something:
[*] Is the super calling the father constructor? [*] What is _iState? Is defined in the i2c main library? [*] Why the uriAddress is 16#20? looking the dataseet should be 16#40. Is my osservation right?
Thanks
Luca
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi to all,
I would like to use the MCP23017 16IO port exander in i2c version of Microchip. I sow that there are a lot of post here, infact the library from http://forum.codesys.com/viewtopic.php?f=23&t=5872&p=10868#p11014 has been download and implemented successfully.
The hardware has not been tested yet, but I just took a look inside the library. It's very simple but I would like ask you something:
[*] Is the super calling the father constructor?
[*] What is _iState? Is defined in the i2c main library?
[*] Why the uriAddress is 16#20? looking the dataseet should be 16#40. Is my osservation right?
Thanks
Luca