Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize the buzzer to high, to stop beeping on boot #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hfuller
Copy link

@hfuller hfuller commented Aug 20, 2022

It seems the pin could be left LOW under some conditions. Or the micro
would leave the pin floating which would cause a constant beep. This will
make us always initialize it to HIGH on boot, regardless of whether the
buzzer is enabled.

It seems the pin could be left LOW under some conditions. This will
make us always initialize it to HIGH upon setting its pin mode.
@NonaSuomy
Copy link

Tested and it fixes the buzzer issue! Thank you.

bakinbits added a commit to bakinbits/custom_components that referenced this pull request Dec 3, 2023
hfuller wants to merge 1 commit into cpyarger:master from hfuller:master

 Initialize the buzzer to high, to stop beeping on boot

It seems the pin could be left LOW under some conditions. This will
make us always initialize it to HIGH upon setting its pin mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants