mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
вспышка
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
||||
else
|
||||
save_picture();
|
||||
}
|
||||
else if (command == "flashOn" && param.size() == 1)
|
||||
else if (command == "flashOn")
|
||||
{
|
||||
ledcSetup(LED_LEDC_CHANNEL, 5000, 8);
|
||||
ledcAttachPin(LED_GPIO_NUM, LED_LEDC_CHANNEL);
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
}
|
||||
],
|
||||
"about": {
|
||||
"authorName": "Ilya Belyakov",
|
||||
"authorName": "Ilya Belyakov, Mikhail Bubnov",
|
||||
"authorContact": "https://t.me/Biveraxe",
|
||||
"authorGit": "https://github.com/biveraxe",
|
||||
"specialThanks": "",
|
||||
"moduleName": "EspCam",
|
||||
"moduleVersion": "2.1",
|
||||
"moduleVersion": "3.0",
|
||||
"usedRam": {
|
||||
"esp32_4mb": 15,
|
||||
"esp8266_4mb": 15
|
||||
@@ -52,15 +52,13 @@
|
||||
"params": [""]
|
||||
},
|
||||
{
|
||||
"name": "ledOn",
|
||||
"descr": "Включить подсветку",
|
||||
"params": [
|
||||
"Яркость 0-255"
|
||||
]
|
||||
"name": "flashOn",
|
||||
"descr": "Включить вспышку",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"name": "ledOff",
|
||||
"descr": "Отключить подсветку",
|
||||
"name": "flashOff",
|
||||
"descr": "Отключить вспышку",
|
||||
"params": []
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user