adding code to use PWM 1instead of PWM 0, to avoid using the onboard speaker