I worked on a project in Workbench for a Photon, added a few libraries through the installer (Adafruit_SPI, Adafruit_ILI9341, and Adafruit_mfGFX) and it was all working fine. The next step in my project was to get the SD slot in my tft screen working. Unfortunately when I decided to add a few more libraries, all went downhill. I added two libraries through the library installer: SdFat and Adafruit_ImageReader and added one manually as it was unknown by particle library search: Adafruit_SPIFlash. Shit hit the fan from there.
- Some libraries included libraries that could not be found like Adafruit_SPITFT.h
- The new libraries did not work well with the mfGFX and requested the GFX or something
- Weird enough, a few libraries appeared in my lib folder, which I did not install myself. I guess those are required and installed automatically together with the libraries I did install myself? Please, correct me if I am wrong.
- The cause that made me stop my efforts to fix all errors, was that not a single library was working anymore. Not even the ones I used when it was working just fine.
Now I am completely lost as my program and project folder are completely restored as it was right before the flood of errors, but still none of the three original libraries work.
Such unpredictable and unexplainable issues were never there with the Particle Dev. I don’t mean to come across judgemental but why was the support for the Particle Dev discontinued when it was working fine? VS Code probably has a lot more functionality and might be better for seasoned programmers, but also can be quite complex. The Particle Dev was working fine for me and it was easier and better understandable for a novice user, like me.
I hope my library issue can be fixed.
cannot open source file "SPI.h" #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\\\\Particle\projects\DUETEST\src\DUETEST.ino). cannot open source file "WProgram.h" (dependency of "Adafruit_ILI9341.h") cannot open source file "Particle.h" (dependency of "Adafruit_mfGFX.h")