br3ttb / Arduino-PID-AutoTune-Library

416 stars 225 forks source link

Install Troubles #19

Open EthanDJohnson opened 5 years ago

EthanDJohnson commented 5 years ago

Hello!

I'm having a hard time even getting this library to install. It's not showing up in the Library Manager so I came here to install the .zip and that's not working out either. It always just says that:

"Specified folder/zip file does not contain a valid library"

What can I even attempt do with that? I know that my IDE is installing .zip files fine otherwise--I just installed via .zip for the Adafruit Motor Shield V2 Library and it's working just fine.

TaylanT commented 5 years ago

same here

bleckers commented 4 years ago

This repo isn't really set up for you to download the github zip and import it as a library into Arduino.

You just need to copy the PID_AutoTune_v0.h and PID_AutoTune_v0.cpp into your sketch directory and you are good to go.

br3ttb commented 4 years ago

It's also registered with the arduino ide, so you can just import it from there

On Sat, Nov 2, 2019, 8:09 PM Blair Wyatt notifications@github.com wrote:

This repo isn't really set up for you to download the github zip and import it as a library into Arduino.

You just need to copy the PID_AutoTune_v0.h and PID_AutoTune_v0.cpp into your sketch directory and you are good to go.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/br3ttb/Arduino-PID-AutoTune-Library/issues/19?email_source=notifications&email_token=AACYX4UW6KX4R6RB6UU2GC3QRYJEPA5CNFSM4GFAKJY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5HYVQ#issuecomment-549092438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACYX4WC2ROP7CEDACJJT73QRYJEPANCNFSM4GFAKJYQ .

fkromer commented 3 years ago

@br3ttb In the library manager of Arduino IDE 2.0 beta the lib seems to be missing.

fkromer commented 3 years ago

If I past the PID_AutoTune_v0.cpp + PID_AutoTune_v0.h file into my autotune project sketch directory the include of #include <PID_v1.h> does not find the PID library. PID_v1.cpp and PID_v1.h is installed into libraries and can be included into other sketches without problems. If I paste the PID_v1.cpp and PID_v1.h file of the PID Library into the sketch folder of my autotune project as well the lib cannot be included... still.

EDIT: The IDE marks the include statement as an error. But compilation works if all .cpp + .h dependencies are pasted into the proejct sketch directory. Just ignore the error highlighting 👯