ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.12k stars 204 forks source link

Arduino #526

Open Beginner69 opened 5 months ago

Beginner69 commented 5 months ago

I'm really a novice and don't really understand how Github works. I searched for the library "Key .h" and there I can find and download a raw file. But how can I use that rawfile as a library in Arduino. Maybe a stupid question but as a 70 year old it is difficult for me but I still try to find a solution to make a flawless sketch in Arduino. I always get this error message now: C:\Users\claes\Documents\Arduino\libraries\Adafruit_AD569x_Library/Keypad.h:36:10: fatal error: Key.h: No such file or directory

include "Key.h"

      ^~~~~~~

Can someone please help me with this.

Pconti31 commented 5 months ago

@Beginner69 First you are only 70? I wish I was that young AGAIN...

Now on the surface it would seem Keypad.h is in Adafruit_AD569x_Library folder which it should not be since that file doesn't exist as part of this package. Did you move it there??? In any case, delete any files not part of the released Adafruit_AD569x_Library.

If you are using a keypad library like for example: Keypad Then all of its files should be inside Arduino\libraries\Keypad this is why you are getting compile errors.

Now as a normal procedure when you load a new library you should first try running any example programs for that package.

So for the Keypad library I mentioned above first get examples/HelloKeypad.ino to work before using it in a more complex app using other devices. While Adafruit_AD569x has _examples/AD5693test.ino All Arduino libraries should comes with at least one example program.

Not meaning to be rude but beginner questions like these should be asked in the Arduino Forum since Github and GUIslice issues in particular isn't setup with a complex topic structure for question and answer forums, nor could we handle the volume of questions that can arise otherwise. Paul--