摘要
该文提供了一种针对大专生的教学方法,在音乐中练习单片机的定时器,先利用乐理知识计算每个乐音音符对应的单片机设置,再组合音符做成旋律,最终用STC89C52单片机和蜂鸣器进行实物实现。在建筑电气专业进行教学实践,取得了良好的教学效果。
This paper presents a new education method for vacational education, apply music to timer of single-chip microcomput-er, first set the single-chip microcomputer with music theory, then combine them to melody, use STC89C52 to implement it. Themethod is tried in the major of construction equipment with good feedback.
出处
《电脑知识与技术》
2015年第6X期98-99,共2页
Computer Knowledge and Technology
关键词
单片机
音乐
蜂鸣器
single chip microcomputer
music
buzzer