VIIC_C51.C此程序是I2C操作平台(主方式的软件平台)的底层的C子程序,如发送数据 及接收数据,应答位发送,并提供了几个直接面对器件的操作函数,它很方便的 与用户程序连接并扩展..... 注意:函数是采用软件延时的方法产生SCL脉冲,固对高晶振频率要作 一定的修改....(本例是1us机器周期,即晶振频率要小于12MHZ)
上传时间: 2015-12-18
上传用户:kelimu
基于AT89S52的自动报时数字闹钟. 该数字钟具有整点报时和闹钟功能,时间显示为 时.分.秒,以12小时制显示。可通过按键调整时间的小时位和分钟位,整点和闹钟均以闪烁方式报时。 程序分为以下模块:数码管显示模块,控制显示模块,定时器T0中断处理模块,定时器T1中断处理模块,键盘扫描模块,键盘处理模块,延时模块和整点闪烁模块
上传时间: 2014-01-03
上传用户:541657925
实现一组小灯有规则亮灭,采用了延时和中断程序
标签:
上传时间: 2014-01-06
上传用户:dyctj
进行波动方程正演模拟的程序,在C++中编译通过,可以任意改变模拟的子波频率、延时时间等参数
上传时间: 2014-01-13
上传用户:zhangliming420
51上的一个简单的操作系统,提供创建任务,删除任务,任务调度,系统延时,任务挂起,发送消息,等待消息,CPU使用率统计,系统时间,串口发送、接收数据及串口资源管理等功能。用Keil仿真
标签: 操作系统
上传时间: 2016-01-13
上传用户:skhlm
第12章(/12/) BasicUSB.SchDoc 电路原理图 FX2Test/FX2Test.Uv2 Keil C51工程 FX2Test/EZUSB.LIB EZ-USB库文件 FX2Test/dscr.a51 USB描述符 FX2Test/USBJmpTb.OBJ USB中断跳转表 FX2Test/syncdly.h 同步延时 FX2Test/lpregs.h 寄存器声明 FX2Test/lp.h EZ-USB头文件 FX2Test/fw.c C51主程序 FX2Test/periph.c 初始化及任务调度 FX2Test/FX2Test.hex 单片机Hex文件 FX2Test/STARTUP.A51 启动代码 程序描述:使用Cypress提供的EZ-USB开发工具包进行基本的固件程序设计。 安装:把源码拷贝到硬盘特定目录下,使用Keil C编译器运行即可。 注意:这里需要添加完整的头文件及库文件才可以编译。
上传时间: 2016-01-17
上传用户:cooran
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
GPIO实验以核心板上的4的LED灯作为指示, 四个灯我们定义如下: xx LED1 LED2 xx LED3 LED4 LED1 绿色LED EINT7/GPF7 LED2 绿色LED EINT6/GPF6 LED3 红色LED EINT4/GPF4 LED4 红色LED EINT5/GPF5 实验内容: 灯亮-延时-灯灭-延时-灯亮
上传时间: 2016-01-26
上传用户:czl10052678
本文主要描述了如何在QUARTUSII中输入程序文件,生成网表及标准延时文件,然后通过MODELSIM进行功能仿真与后仿真的过程,主要为图解,含全部代码及仿真波形。
上传时间: 2016-01-27
上传用户:xg262122
本代码用VC++6开发,包含了利用控件和API开发的串口通信,其中API通信部分用多线程写,并且在USB转串口的情况下也经过测试,用控件写的在USB转串口情况下不适用,但是串口转串口可以适用 另外传送不存在延时,接受十分迅速并不存在理论和实际速度的差异性.
上传时间: 2014-09-01
上传用户:邶刖