ScruffR
January 12, 2021, 10:24am
2
Your project structure isn't quite correct
It should rather look like shown here
The structure of the library is not correct IMO and it is missing a library.properties file.
This would be how a valid project structure should look like
>.
│ project.properties
│ README.md
│
├───.vscode
│ launch.json
│ settings.json
│
├───lib
│ └───yourLib
│ │ library.properties
│ │ LICENSE.txt
│ │ README.md
│ │
│ └───src
│ yourLib.h
│ yourLib.cpp
│
├───src
yourProject.cpp
yourProject.ino
To get started with developing/porting a library in Particle workbench you can follow the steps as outlined here (obviously with some adaptations for your own library)
Welcome to the community
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 …
1 Like