Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

Help finding the proper libraries
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Help finding the proper libraries

by hextejas on Sat Oct 16, 2021 10:01 am

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.

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

Re: Help finding the proper libraries

by franklin97355 on Sat Oct 16, 2021 10:59 am

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

franklin97355
 
Posts: 22320
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Help finding the proper libraries

by hextejas on Sat Oct 16, 2021 12:36 pm

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 | TOGGLE FULL SIZE
// #define FEATURE_ADAFRUIT_I2C_LCD

My change...Just uncommented
Code: Select all | TOGGLE FULL SIZE
#define FEATURE_ADAFRUIT_I2C_LCD

and it caused the following error.
Code: Select all | TOGGLE FULL SIZE
#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.

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

Please be positive and constructive with your questions and comments.