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");
|
||||
|
||||
// Activate other PWM frequency. 1000 (1 KHz) is default
|
||||
analogWriteFreq(30000);
|
||||
|
||||
// Restore last state
|
||||
output();
|
||||
|
||||
|
|
Loading…
Reference in New Issue