-
Notifications
You must be signed in to change notification settings - Fork 9
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
不同型号单片机兼容 #1
Comments
在up讨论区看到:暂时不支持STC89系列没有定时器时钟输出功能的单片机,auxr是一个辅助寄存器 |
没响是因为定时器溢出信号没有输出到IO主要是因为STC89这种单片机用中断翻转IO电平太慢了,有些音调一高就跑调,再加上有中断,不同频率的音符持续时间就不准了,嫌麻烦,就用的STC15这种可以直接把定时器输出到IO口的单片机
然后main里面加一句: |
厉害了,我试一下,我也是STC89C52 |
STC89C52按你的方法试了下,不成功,不出声 |
你好,我用的是STC89C52,好像没有辅助寄存器,不知道为什么我用常规方法也没法让我的音乐响起来,能不能帮帮忙
The text was updated successfully, but these errors were encountered: