Help finding the proper libraries

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
hextejas
 
Posts: 26
Joined: Sun Feb 11, 2018 9:51 am

Help finding the proper libraries

Post by hextejas »

My code is calling out 2 libraries that seem to be a mess.
Adafruit_MCP23017.h
Adafruit_RGBLCDShield.h

The library manager points to Arduino-mcp23017 and Adafruit_ tinyRGBLCDShield_Master.

What's going on ? These libraries seem to be a mess as to naming conventions.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Help finding the proper libraries

Post by Franklin97355 »

Where did you get the code you are trying to run and what board is it?

User avatar
hextejas
 
Posts: 26
Joined: Sun Feb 11, 2018 9:51 am

Re: Help finding the proper libraries

Post by hextejas »

The code is from github
https://github.com/k3ng/k3ng_rotator_controller
and the board is a Arduino Mega R3.

I had started to modify it to select some of the supposedly options when I ran into the library mess.

Here are some statements that cause an error after I made this change:
Original code

Code: Select all

// #define FEATURE_ADAFRUIT_I2C_LCD
My change...Just uncommented

Code: Select all

#define FEATURE_ADAFRUIT_I2C_LCD
and it caused the following error.

Code: Select all

#if defined(FEATURE_ADAFRUIT_I2C_LCD)
  #include <Adafruit_MCP23017.h>
  #include <Adafruit_RGBLCDShield.h>
             <=====[b]exit status 1 Adafruit_RGBLCDShield.h: No such file or directory[/b]==========>
  Adafruit_RGBLCDShield lcd = Adafruit_RGBLCDShield();
#endif
When I started to try and sort out the above error, I ran into a lot more.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”