mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
Меняем разрешение для ШИМ на 10бит
This commit is contained in:
@@ -20,6 +20,7 @@ class Pwm8266 : public IoTItem {
|
||||
|
||||
IoTgpio.pinMode(_pin, OUTPUT);
|
||||
analogWriteFreq(_freq);
|
||||
analogWriteResolution(10);
|
||||
IoTgpio.analogWrite(_pin, value.valD);
|
||||
|
||||
jsonRead(parameters, "apin", _apin);
|
||||
|
||||
Reference in New Issue
Block a user