Help with code

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
billybob_LM
 
Posts: 1
Joined: Thu Nov 24, 2022 6:18 pm

Help with code

Post by billybob_LM »

Hi, first time poster here. Please point me in the right direction if you can.

I'm trying to get the Solenoid Drums project going. Everything is connected as it should be. I have a code error which I do not understand:

In file included from c:\Users\jagbr\BANNED\Documents\Arduino\libraries\Adafruit_Seesaw-master/Adafruit_Crickit.h:4,
from C:\Users\jagbr\AppData\Local\Temp\.arduinoIDE-unsaved20221024-9056-fdulbs.wjm7\sketch_nov24a\sketch_nov24a.ino:2:
c:\Users\jagbr\BANNED\Documents\Arduino\libraries\Adafruit_Seesaw-master/Adafruit_seesaw.h:24:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
24 | #include "Adafruit_I2CDevice.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: exit status 1



I copied the code from the page but I think it's something to do with my directory structure.
Any help would be cool as fudge!
Thanks,
Will.

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

Re: Help with code

Post by Franklin97355 »

There was a post in 2020 about this, I don't know if it is relevant but you can look into it.
adafruit_support_carter wrote:Here's the repo where it lives:
https://github.com/adafruit/Adafruit_BusIO

The EPD library depends on the GFX library:
https://github.com/adafruit/Adafruit_EP ... erties#L10
which depends on the Bus IO library:
https://github.com/adafruit/Adafruit-GF ... erties#L10
So that dependency linkage should have installed all the necessary libraries. But that feature does not exist for Arduino version prior to 1.8.10, so you have to do it manually.

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

Return to “Feather - Adafruit's lightweight platform”