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

初始化时,大多数MCU需要先设置IO模式,后设置GPIO电平 #1

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

Conversation

slyant
Copy link

@slyant slyant commented May 23, 2022

针对有源蜂鸣器,如果是低电平发声,IO应该初始化为高电平。如果先设置IO电平,后配置IO输出模式,导致初始化后输出低电平,蜂鸣器长鸣

@supperthomas
Copy link

RT-Thread/packages#1618

@slyant
Copy link
Author

slyant commented Aug 7, 2023

针对有源蜂鸣器,如果是低电平发声,IO应该初始化为高电平。如果先设置IO电平,后配置IO输出模式,导致初始化后输出低电平,蜂鸣器长鸣
#RT-Thread/packages#1618

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