PWM Grundfrequenz auf 30KHz eingestellt. - Kein Piepsen mehr!

This commit is contained in:
starcalc 2018-09-04 20:23:12 +02:00
parent 82316c89b3
commit 49245453b4
1 changed files with 3 additions and 0 deletions

View File

@ -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();