登录
首页 » 嵌入式系统 » C语言编写的单片机音乐程序,目标芯片PIC16f630

C语言编写的单片机音乐程序,目标芯片PIC16f630

于 2022-03-22 发布 文件大小:2.41 kB
0 166
下载积分: 2 下载次数: 1

代码说明:

C语言编写的单片机音乐程序,目标芯片PIC16f630-C language Singlechip music program, the target chip PIC16f630

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • keil MDK开发环境,实现STM32的USB驱动程序,实现USB端的DEVICE功能,内附驱动源码,欢迎交流,...
    keil MDK开发环境,实现STM32的USB驱动程序,实现USB端的DEVICE功能,内附驱动源码,欢迎交流,-keil MDK development environment to achieve STM32" s USB driver, USB side to achieve DEVICE function, enclosed driver source code, welcome exchanges,
    2023-01-14 02:10:03下载
    积分:1
  • 交通灯: 1. 因为本设计是交通灯的控制,所以要先了解实际交通灯的变化规律。假设一个十字路口为东西南北走向。初始状态0为东西红灯,南北红灯。然后转状态1南北绿灯...
    交通灯: 1. 因为本设计是交通灯的控制,所以要先了解实际交通灯的变化规律。假设一个十字路口为东西南北走向。初始状态0为东西红灯,南北红灯。然后转状态1南北绿灯通车,东西红灯。过一段时间转状态2,南北绿灯闪几次转亮黄灯,延时几秒,东西仍然红灯。再转状态3,东西绿灯通车,南北红灯。过一段时间转状态4,东西绿灯闪几次转亮黄灯,延时几秒,南北依然红灯。最后循环至状态1。 2. 双色LED是由一个红色LED管芯和一个绿色管芯封装在一起,公用负端。当红色正端加高电平,绿色正端加低电平,红灯亮;红色正端加低电平,绿色正端加高电平,绿灯亮;两端都加高电平,黄灯亮。 急救车和交通灯: 中断服务程序的关键是:1. 保护进入中断时的状态,并在推出中断之前恢复进入时的状态;2. 必须在中断程序中设定是否允许中断重入,即设置EX0位。 本设计使用了INT0中断,一般中断程序进入时应保护 PSW,ACC以及中断程序使用但非其专用的寄存器。本设计中的INT0程序保护了PSW,ACC,2等三个寄存器并且在退出前恢复了这三个寄存器。另外中断程序中涉及到关键数据的设置时应关中断,及设置时不允许重入。本设计中没有涉及这种情况。 name:trled1.asm trled2.asm-traffic lights : 1. Because of the design of the traffic lights, so there must first understand the traffic lights change. Assuming a crossroads for the east-west north-south. Initial state of things 0 red light, red light north-south. Then the state opening of a north-south green, red things. For a period of time to state 2-green flashing yellow light switch several times, a few seconds delay, things are still red. Three sub-state, opening things green, red ligh
    2022-04-29 18:17:53下载
    积分:1
  • This is the single test of transmitting and receiving serial data procedure is v...
    这是单机测试串口发送和接收数据的程序,很简单啊!完成基本的串口工作-This is the single test of transmitting and receiving serial data procedure is very simple ah! Completed the basic work of the serial
    2022-03-02 13:28:26下载
    积分:1
  • that the procedure was iic procedures testing procedures, led only two buttons a...
    该程序是iic程序的测试程序,只需两个led和两个按键,是入门的好程序!-that the procedure was iic procedures testing procedures, led only two buttons and two, is the entry of the program!
    2022-04-18 07:16:38下载
    积分:1
  • 14*14点阵,调整为14×16 的。 不同于16*16,12*12的,比12*12的大气, 又不象16*16的满格,字与字之间没有什么间隙。 纵向取模,字节倒...
    14*14点阵,调整为14×16 的。 不同于16*16,12*12的,比12*12的大气, 又不象16*16的满格,字与字之间没有什么间隙。 纵向取模,字节倒序。 先取上面的14字节, 在取下面的14字节。 是14×14的字库加入了拼音的索引。并且索引的汉字部分做了简单的划分,避免一个拼音对应的汉字分在2个区中 原拼音索引格式是 0-0xd4f 拼音索引 8个字节一个记录,前面6个字节是拼音,后面2个字节是汉字所在的地址。(高字节在后,低字节在前) 映射在本字库的7B00-884F区 0x1000―0x2167 汉字区 映射在8880-99e7 0x2168―0x468f 汉字区 映射在3da50-3ffff 在【显示程序】里面有关于上面14×16字库中的读取程序,-14* 14 dot matrix, adjusting for the 14 16. Unlike 16.12* 16* 12, 12* 12 in the atmosphere, not like 16* 16 full grid of characters and characters no gap. Vertical take-mo, reverse-byte. Take the first 14 bytes above, the admission of the following 14 bytes. 14 14 is the character of the alphabet to join the index. Index of Chinese characters and do some simple division and avoid a corresponding Chinese phonetic pm in two areas Zhongyuan phonetic index format is 0-0xd4f phonetic indexing an 8-byte records, previous six byte is phonetic, behind two Chinese characters which is the byte address. (High byte in the post, little endian) mapping in the font 7B
    2022-01-30 18:10:35下载
    积分:1
  • 读取温度关 1631年并显示它 c51
    阅读关闭 1631年传感器的温度和 2 x 16 显示器上显示它和计算平均和最大值和最小温度并显示它
    2022-01-28 04:32:27下载
    积分:1
  • modem 原程序。用于无线模块的开发应用GPRS应用
    modem 原程序。用于无线模块的开发应用GPRS应用--Modem source code. It could be used in developing wireless module.
    2023-04-02 10:35:03下载
    积分:1
  • msp430驱动ad9853
    msp430驱动ad9853-Controller driver AD9853
    2022-07-04 23:52:39下载
    积分:1
  • 汽车记录仪元代码
    汽车记录仪元代码--Source code for car recording instrument.
    2023-02-20 00:50:03下载
    积分:1
  • c语言生成有向无环图
    输入节点数和子图数,随机生成有向无环图,统计出每个节点的出度和入度,并且将其转换成为十字链表。
    2022-03-24 23:09:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载