mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-31 12:29:14 +03:00
Серьезно меняем скрипт обновления конфигурации проекта
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name": "Расширитель портов Mcp23017",
|
||||
"num": 29,
|
||||
"type": "Reading",
|
||||
"subtype": "Mcp23017",
|
||||
"id": "Mcp",
|
||||
"widget": "",
|
||||
"page": "",
|
||||
"descr": "",
|
||||
|
||||
"int": "0",
|
||||
"addr": "0x20",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
45
src/modules/system/Mcp23017/modinfo.json
Normal file
45
src/modules/system/Mcp23017/modinfo.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"menuSection": "Расширения",
|
||||
|
||||
"configItem": [{
|
||||
"name": "Расширитель портов Mcp23017",
|
||||
"type": "Reading",
|
||||
"subtype": "Mcp23017",
|
||||
"id": "Mcp",
|
||||
"widget": "",
|
||||
"page": "",
|
||||
"descr": "",
|
||||
|
||||
"int": "0",
|
||||
"addr": "0x20",
|
||||
"index": 1
|
||||
}],
|
||||
|
||||
"about": {
|
||||
"authorName": "Ilya Belyakov",
|
||||
"authorContact": "https://t.me/Biveraxe",
|
||||
"authorGit": "https://github.com/biveraxe",
|
||||
"specialThanks": "",
|
||||
"moduleName": "Mcp23017",
|
||||
"moduleVersion": "1.0",
|
||||
"moduleDesc": "Добавляет в систему дополнительные GPIO для элементов, которые поддерживают такую функцию.",
|
||||
"propInfo": {
|
||||
"int": "Не используется",
|
||||
"addr": "Адрес устройства на шине, обычно 0x20",
|
||||
"index": "Значения от 1 до 4, где при выборе 1 будет нумерация pin 100-115, при выборе 2 200-215 и т.д."
|
||||
}
|
||||
},
|
||||
|
||||
"defActive": true,
|
||||
|
||||
"devices": {
|
||||
"esp32_4mb": [
|
||||
"adafruit/Adafruit MCP23017 Arduino Library@^2.0.2",
|
||||
"adafruit/Adafruit BusIO @ ^1.13.0"
|
||||
],
|
||||
"esp8266_4mb": [
|
||||
"adafruit/Adafruit MCP23017 Arduino Library@^2.0.2",
|
||||
"adafruit/Adafruit BusIO @ ^1.13.0"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
[env:esp8266_4mb]
|
||||
lib_deps =
|
||||
adafruit/Adafruit MCP23017 Arduino Library@^2.0.2
|
||||
|
||||
[env:esp32_4mb]
|
||||
lib_deps =
|
||||
adafruit/Adafruit MCP23017 Arduino Library@^2.0.2
|
||||
|
||||
Reference in New Issue
Block a user