Merge pull request #376 from liamcottle/fix/buzzer-power-draw
Fix Buzzer Power Draw
This commit is contained in:
@@ -11,6 +11,7 @@ void genericBuzzer::begin() {
|
|||||||
|
|
||||||
quiet(false);
|
quiet(false);
|
||||||
pinMode(PIN_BUZZER, OUTPUT);
|
pinMode(PIN_BUZZER, OUTPUT);
|
||||||
|
digitalWrite(PIN_BUZZER, LOW); // need to pull low by default to avoid extreme power draw
|
||||||
startup();
|
startup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user