1.85-AzuritBer Continuous beeping

Hallo,
after I changed the IMU, I also had to change the firmware. From then on I had a very annoying continuous tone. I have changed the following:

buzzer.cpp:

void BuzzerClass::noTone() {
Timer1.stop();
digitalWrite(pinBuzzer, HIGH); // was LOW //Se
}


Mower.cpp:

pinMode(pinBuzzer, OUTPUT);
digitalWrite(pinBuzzer, 1); // was 0 //Se


The sound is gone and the beeping works fine.
Is this change OK and is there a reason for the continuous beep?

Thanks
Jens
 
The sound is gone and the beeping works fine.
Is this change OK and is there a reason for the continuous beep?
PCB1.3 use a level shifter to command the 5V buzzer, so the signal is inverted .
Your change is OK with your particular PCB
 
Oben