利用Atmel ATMega8 的定时器功能和PWM功能,制作频率发生器。 有LCD显示,并可实时调节ATMega8的各个相关的寄存器内容。 支持红外遥控器输入。 ..\频率发生器.prj ......主芯片项目文件 ..\频率发生器.c ......主芯片主程序 ..\频率发生器.asm ......主芯片汇编文件(自动生成) ..\频率发生器.hex ......可供烧录的文件 ..\频率发生器_client.prj ......副芯片项目文件 ..\频率发生器_client.c ......副芯片主程序 ..\频率发生器_client.asm ......副芯片汇编文件 ..\频率发生器_client.hex ......可供烧录的文件 ..\Config.h ......硬件配置文件 ..\Input.c ......接受红外遥控器输入并在LCD中显示 ..\LCD_Interface.c ......LCD 1602 接口文件 ..\Menu.c ......在LCD中显示菜单和其它信息 ..\Menu.h ......菜单定义文件 ..\Readme.txt ......本说明文件
上传时间: 2013-12-12
上传用户:源弋弋
PIECEWISE_EVAL: evaluates a piecewise function of x usage: y = PIECEWISE_EVAL(x,breakpoints,funs) arguments (input) x - vector or array of points to evaluate though the function breakpoints - list of n breakpoints, -inf and +inf are implicitly
标签: PIECEWISE_EVAL breakpoints evaluates piecewise
上传时间: 2014-01-25
上传用户:xyipie
ACM试题An Easy Problem Description As we known, data stored in the computers is in binary form. The problem we discuss now is about the positive integers and its binary form. Given a positive integer I, you task is to find out an integer J, which is the minimum integer greater than I, and the number of 1 s in whose binary form is the same as that in the binary form of I. For example, if "78" is given, we can write out its binary form, "1001110". This binary form has 4 1 s. The minimum integer, which is greater than "1001110" and also contains 4 1 s, is "1010011", i.e. "83", so you should output "83".
标签: Description computers Problem binary
上传时间: 2013-12-11
上传用户:libenshu01
本文简要介绍了集成电路MAX038的性能,并给出了以MAX038波形产生器为核心具有四种输出波形的函数 信号发生器的设计方案。用这种方法设计的信号发生器具有结构简单、成本低、体积小等特点,很好地满足 了一般的实验要求。 关键词:集成电路 信号发生器 频率 Abstract:The performance ofIC_MAX038 was introduced briefly in this paper.At the sa/ne time,a signal generator design making with integrated circuit MAX038 is provided,which can produce four kinds of waveforms output.The signal generator was of characters such as simple structur,cheap expense,small volume and SO on.The signal generator contents the demand of general experiments very wel1. Key words:Integrated circuit Signal generator Frequency
上传时间: 2013-12-12
上传用户:四只眼
This project attempts to implement a Database using B+Tree. The project has developed a DATABASE SYSTEM with lesser memory consumption. Its API includes simple SQL Statements and the output is displayed on the screen. Certain applications for which several features of existing databases like concurrency control, transaction management, security features are not enabled. B+Trees can be used as an index for factor access to the data. Help facility is provided to know the syntax of SQL Statements.
标签: project implement developed Database
上传时间: 2013-12-25
上传用户:semi1981
带进度条的文件上传(java+ajax源码) 在写代码的时候,还要用到关于servlet的包servlet-api.jar。 写完后调试的过程中,老报错:java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream,后来一查才知道少了commons-io-1.2.jar,加上后,就ok了。 关于获取及显示进度部分,用了我原来自己写的一个ajax的应用架构,从中抽取了部分代码出来,注意,js文件只适用于UTF-8编码的页面,因为现在我只写UTF-8编码的页面了,国际化方便。 progressUpload.jar中,包含了commons-fileupload-1.1.1.jar,servlet-api.jar,commons-io-1.2.jar,在progressUpload.jar中,还包含一个属性文件,里面是一些默认配置,可根据自己的需要修改。 由于有源码,怎么用可以自己看源码,此外,那个例子中也写了,在此不再赘述。例子中只取到了FileItem,再将item保存一下就ok了,示例代码: File upFile = new File(remoteFilePath) try \{ item.write(upFile) fileInfo.put("infotip", "上传成功.") } catch (java.lang.Exception e) \{ fileInfo.put("infotip", "上传失败.") }
上传时间: 2015-09-01
上传用户:ccclll
这是Small RTOS 51 在DP-51下载仿真实验仪上使用CAT24WC02驱动程序的例子。本例程序按照相应的的通讯协议接收一个数据,并将接收到的数据显示到LED数码显示器上。然后将接收到的数据写入Cat24Wc02中,再在同一位置将数据读出,并将读出的数据通过串口发送回来。通讯协议参考rtos随想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\temp中,您可以在Project->Options for Target "Target 1"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变. (2)编译时会有4个警告,可以忽略. (3)DP-51下载仿真实验仪的所有跳线选取默认值。
上传时间: 2015-09-03
上传用户:wweqas
这是Small RTOS 51 DP-51下载仿真实验仪上实现一个闹钟的源代码。它可以使用k1~k4调整时间,使用串口设置一个报警时间。由于仅仅是一个例子而非产品,有一些细节没有完善。如调整完时间后第一次显示的时间是错误的(由于共享TimeData引起);没有使用串行eeprom存储多个报警时间等;删除报警代码没有编写。不过,程序已经可以使用,读者可以自行完善它。通讯协议参考rtos随想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\temp中,您可以在Project->Options for Target "Target 1"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变. (2)编译时会有6个警告,可以忽略. (3)除与pcf8563相关的跳线和蜂鸣器的跳线外,DP-51下载仿真实验仪的所有跳线选取默认值。
上传时间: 2015-09-03
上传用户:jyycc
这是Small RTOS 51 DP-51下载仿真实验仪上编写的一个键盘驱动例子。在DP-51下载仿真实验仪上运行本程序后,有两个发光二极管每秒闪动一次。当按下某个按键时,LED数码显示器会显示相应的键值。 注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\temp中,您可以在Project->Options for Target "Target 1"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变. (2)编译时会有4个警告,可以忽略. (3)DP-51下载仿真实验仪的所有跳线选取默认值。
上传时间: 2014-11-30
上传用户:561596
Secure Programming Cookbook for C and C++ is an important new resource for developers serious about writing secure code for Unix(including Linux) and Windows environments. This essential code companion covers a wide range of topics, including safe initialization, access control, input validation, symmetric and public key cryptography, cryptographic hashes and MACs, authentication and key exchange, PKI, random numbers, and anti-tampering.
标签: Programming developers for important
上传时间: 2015-09-03
上传用户:gundan