I downloaded the latest Adafruit_MCP_Arduino_Library version 2.0.2.zip, unzipped it and included the Adafruit_MCP23x17.h library, everything conform the instructions in the Arduino-IDE sketch.
In my sketch, I include
Code: Select all
Adafruit_MCP23x17 mcp1;
Compiling my sketch gives the following error:
'Adafruit_MCP23x17' does not name a type; did you mean 'Adafruit_MCP23X17'?
With a previous library version, there were no compiler errors.
Can someone help me to solve this annoying problem?