单片机驱动蜂鸣器音乐生日快乐的播放程序.docxVIP

  • 38
  • 0
  • 约9.55千字
  • 约 21页
  • 2022-06-15 发布于江苏
  • 举报

单片机驱动蜂鸣器音乐生日快乐的播放程序.docx

单片机驱动蜂鸣器音乐生日快乐的播放程序 ;音乐生日快乐的播放 ;P1.6 是喇叭输出端口,用杜邦线连接到 J42 插针 B1 针脚,喇叭即播放音乐 numtim equ 20h gewei equ 21h shiwei equ 22h scanled equ 23h org jmp org jmp org 000h start 00bh tim0 100h start:; JB P3.7,$ ;检测播放按键是否按下 mov tmod, mov ie, mov numtim,#01h start0:mov 30h,#00h next:mov a,30h mov dptr,#table movc a,@a+dptr mov r2,a jz end0 anl a,#0fh mov r5,a mov a,r2 swap a anl a,#0fh jnz sing clr tr0 jmp d1 sing: dec a mov 22h,a rl a mov dptr,#table1 movc a,@a+dptr mov th0,a mov 21h,a mov a,22h rl a inc a movc a,@a+dptr mov tl0,a mov 20h,a supplies and get to use, the registration of company assets, record maintenance, maintenance of effective management; 2.6 cost management: preparation of the annual administrative budget, control administrative costs, determine the scope of cost-sharing, sharing the office expenses by month; 2.7 information management: responsible for documents, push psw materials, information and publicity, communication links, and ensure promptly, ranking officers reporting; responsible for the collation and analysis of information, provide the basis for corporate decisions; corporate culture construction, planning, editing, internal publications; 2.8 vehicle management: responsible for the management, repairs and maintenance of vehicles; 2.9 legal disputes: the company responsible for the handling of disputes; 2.10 other: maintaining normal working order, and security. General Manager General Manager job description 1, 1.1 develop strategies and plans: according to company strategic planning, establish the annual management plan, reported to the Board of Directors for approval; 1.2 decomposition measures: according to the Board of Directors issued the annual management plan, annual index of decomposition, through the Organization of coordination mandate in charge of the Department Organization and implementation, ensuring comprehensive implementation of annual indicators; 1.3 inspection: convenes the General Manager Office, through setb

文档评论(0)

1亿VIP精品文档

相关文档