As it says. I’m trying to construct library.json
for a library that depends on SPI
. How to I specify it? Here’s what I’ve got:
{
"name": "kwSCD30",
"version": "1.0.4",
"description": "Arduino firmware for a Sensirion SCD30 temperature, humidity, and CO2 sensor.",
"keywords": "sensor, arduino, temperature, humidity, co2",
"repository":
{
"type": "git",
"url": "https://github.com/kingswood-monitor/kwSCD30.git"
},
"authors":
[
{
"name": "Richard Lyon",
"email": "richlyon@mac.com",
"url": "https://github.com/kingswood-monitor",
"maintainer": true
}
],
"license": "MIT",
"homepage": "https://github.com/kingswood-monitor/kwHeltecWifikit32",
"dependencies":
{
"sparkfun/SparkFun SCD30 Arduino Library": "^1.0.14",
"???????/SPI": "*"
},
"frameworks": "arduino",
"platforms": "espressif32"
}
I asked this before, but received no reply. Any reply gratefully received. Thank you.