Looking at the MCP23017.H file I noticed an error on two definitions that have the same name:
#define MCP23017_IOCON 0x0A '0 = Interrupt on change, 1 = Interrupt on Difference #define MCP23017_IOCON 0x0B
The two definitions must be changed to: #define MCP23017_IOCONA 0x0A #define MCP23017_IOCONB 0x0B
Can you upload a completed version ? I would like to use your version to ensure I do not mess up.
:-)
Ok. This is the new version.
Thank you - moved to the Gold Build for the next release and https://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/include/MCP23017.h
Anobium
Log in to post a comment.
Looking at the MCP23017.H file I noticed an error on two definitions that have the same name:
#define MCP23017_IOCON 0x0A '0 = Interrupt on change, 1 = Interrupt on Difference
#define MCP23017_IOCON 0x0B
The two definitions must be changed to:
#define MCP23017_IOCONA 0x0A
#define MCP23017_IOCONB 0x0B
Can you upload a completed version ? I would like to use your version to ensure I do not mess up.
:-)
Ok.
This is the new version.
Thank you - moved to the Gold Build for the next release and https://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/include/MCP23017.h
Anobium