07-01-2025, 04:33 PM
(This post was last modified: 07-06-2025, 02:14 PM by tochinet.
Edit Reason: correct typos
)
(06-30-2025, 02:07 PM)ksarz Wrote: Hi! The Arduino.h and pcf8574.h librsrys on must be in the SAME directory or different ones?
The usual rule is that
#include <library1.h> // is for libraries in your library forlder
#include "library2.h" // is for libraries in the same directory as your .ino file.
You can go both ways, but the .zip file given by the admin is 20MB big (lots of "resources', most unrelated to KC868), while the .h and .cpp (the only two files needed) are 40kB. However, if you copy locally (my preference), you'll have to do that in all the directories if you have several programs.
BTW, the WifiManager.h library is not by default in my library folder either. I downloaded it using the library manager. The PCF8574 library is there as well, but you may need to scroll down a lot, it is called "PCF8574 library by Renzo Mischianti". It is now version 2.3.7, more recent than the .zip file, but that shouldn't make a difference.

