Adafruit_ST7789.h: No such file or directory

Welcome to the community :+1:

This repository is not providing a library as such but only a project that can work with that display.
That's most noticeable by the fact that there is a project.properties file and not a library.properties file.

If you want to use this as a library, you'd

  • run Particle: Create New Project
  • Particle: Launch CLI
  • therein run mkdir lib lib/Adafruit_ST7789 && cd lib/Adafruit_ST7789 && particle library create --name Adafruit_ST7789 --version 0.0.1 --author "Adafruit (ported by Jens Chr Brynildsen)"
  • run particle library add Adafruit_mfGFX
  • copy the code from the Adafruit_ST7789.h & Adafruit_ST7789.cpp files in the repo into the respective files in lib/Adafruit_ST7789/src
  • optionally you can also copy the code from ST7789_test.ino into the examples/usage.ino

Now you should be setup to use that library in your project

BTW, when you say

what error would that be? :wink:

1 Like