PWM Grundfrequenz auf 30KHz eingestellt. - Kein Piepsen mehr!
This commit is contained in:
parent
82316c89b3
commit
49245453b4
|
@ -274,6 +274,9 @@ void setup() {
|
||||||
|
|
||||||
sensorNode.advertise("motion");
|
sensorNode.advertise("motion");
|
||||||
|
|
||||||
|
// Activate other PWM frequency. 1000 (1 KHz) is default
|
||||||
|
analogWriteFreq(30000);
|
||||||
|
|
||||||
// Restore last state
|
// Restore last state
|
||||||
output();
|
output();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue