-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibrary.json
More file actions
89 lines (89 loc) · 1.89 KB
/
library.json
File metadata and controls
89 lines (89 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "sensor-BoschBME280",
"version": "0.5.0",
"description": "I2C Bosch BME280 temperature and humidity",
"keywords": "Fabrica-IO, sensor, temperature, humidity, i2c",
"repository":
{
"type": "git",
"url": "https://github.com/FabricaIO/sensor-DFAirquality.git"
},
"authors":
[
{
"name": "Sam Groveman",
"email": "SamGroveman@outlook.com",
"url": "https://github.com/FabricaIO"
}
],
"dependencies": {
"Adafruit BME280 Library": "adafruit/Adafruit BME280 Library@^2.3.0"
},
"license": "GPLv3",
"homepage": "https://github.com/FabricaIO",
"frameworks": "arduino",
"platforms": "*",
"fabricaio" : {
"name": "BME280Temp",
"type": 0,
"category": "environmental sensor",
"libname": "BoschBME280",
"includes": ["BoschBME280"],
"description": "I2C Bosch BME280 temperature and humidity",
"constructor":
[
[
{
"name": "I2C_bus",
"type": "TwoWire*",
"description": "The I2C bus",
"default": "&Wire"
},
{
"name": "Address",
"type": "uint8_t",
"description": "The I2C address",
"default": "0x77"
},
{
"name": "ConfigFile",
"type": "String",
"description": "The config file name",
"default": "BME280.json"
}
],
[
{
"name": "SDA_pin",
"type": "int",
"description": "The SDA pin on the I2C bus",
"default": "21"
},
{
"name": "SCL_pin",
"type": "int",
"description": "The SCL pin on the I2C bus",
"default": "22"
},
{
"name": "I2C_bus",
"type": "TwoWire*",
"description": "The I2C bus the sensor is connected to",
"default": "&Wire"
},
{
"name": "Address",
"type": "uint8_t",
"description": "The I2C address",
"default": "0x77"
},
{
"name": "ConfigFile",
"type": "String",
"description": "The config file name",
"default": "BME280.json"
}
]
]
}
}