利用Atmel ATMega8 的定時器功能和PWM功能,制作頻率發(fā)生器。 有LCD顯示,并可實時調(diào)節(jié)ATMega8的各個相關(guān)的寄存器內(nèi)容。 支持紅外遙控器輸入。 ..\頻率發(fā)生器.prj ......主芯片項目文件 ..\頻率發(fā)生器.c ......主芯片主程序 ..\頻率發(fā)生器.asm ......主芯片匯編文件(自動生成) ..\頻率發(fā)生器.hex ......可供燒錄的文件 ..\頻率發(fā)生器_client.prj ......副芯片項目文件 ..\頻率發(fā)生器_client.c ......副芯片主程序 ..\頻率發(fā)生器_client.asm ......副芯片匯編文件 ..\頻率發(fā)生器_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波形產(chǎn)生器為核心具有四種輸出波形的函數(shù) 信號發(fā)生器的設計方案。用這種方法設計的信號發(fā)生器具有結(jié)構(gòu)簡單、成本低、體積小等特點,很好地滿足 了一般的實驗要求。 關(guān)鍵詞:集成電路 信號發(fā)生器 頻率 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源碼) 在寫代碼的時候,還要用到關(guān)于servlet的包servlet-api.jar。 寫完后調(diào)試的過程中,老報錯:java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream,后來一查才知道少了commons-io-1.2.jar,加上后,就ok了。 關(guān)于獲取及顯示進度部分,用了我原來自己寫的一個ajax的應用架構(gòu),從中抽取了部分代碼出來,注意,js文件只適用于UTF-8編碼的頁面,因為現(xiàn)在我只寫UTF-8編碼的頁面了,國際化方便。 progressUpload.jar中,包含了commons-fileupload-1.1.1.jar,servlet-api.jar,commons-io-1.2.jar,在progressUpload.jar中,還包含一個屬性文件,里面是一些默認配置,可根據(jù)自己的需要修改。 由于有源碼,怎么用可以自己看源碼,此外,那個例子中也寫了,在此不再贅述。例子中只取到了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驅(qū)動程序的例子。本例程序按照相應的的通訊協(xié)議接收一個數(shù)據(jù),并將接收到的數(shù)據(jù)顯示到LED數(shù)碼顯示器上。然后將接收到的數(shù)據(jù)寫入Cat24Wc02中,再在同一位置將數(shù)據(jù)讀出,并將讀出的數(shù)據(jù)通過串口發(fā)送回來。通訊協(xié)議參考rtos隨想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已經(jīng)把輸出文件目錄設在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下載仿真實驗儀上實現(xiàn)一個鬧鐘的源代碼。它可以使用k1~k4調(diào)整時間,使用串口設置一個報警時間。由于僅僅是一個例子而非產(chǎn)品,有一些細節(jié)沒有完善。如調(diào)整完時間后第一次顯示的時間是錯誤的(由于共享TimeData引起);沒有使用串行eeprom存儲多個報警時間等;刪除報警代碼沒有編寫。不過,程序已經(jīng)可以使用,讀者可以自行完善它。通訊協(xié)議參考rtos隨想曲和test.ini。 注意:(1)在KEIL C51 工程中,我已經(jīng)把輸出文件目錄設在e:\temp中,您可以在Project->Options for Target "Target 1"的output頁點擊Select Folder for Objects...和Listing頁點擊Select Folder for Listing...改變. (2)編譯時會有6個警告,可以忽略. (3)除與pcf8563相關(guān)的跳線和蜂鳴器的跳線外,DP-51下載仿真實驗儀的所有跳線選取默認值。
上傳時間: 2015-09-03
上傳用戶:jyycc
這是Small RTOS 51 DP-51下載仿真實驗儀上編寫的一個鍵盤驅(qū)動例子。在DP-51下載仿真實驗儀上運行本程序后,有兩個發(fā)光二極管每秒閃動一次。當按下某個按鍵時,LED數(shù)碼顯示器會顯示相應的鍵值。 注意:(1)在KEIL C51 工程中,我已經(jīng)把輸出文件目錄設在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
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1