Test program to loop on Successive Approximation A-to-D conversion. Allows digital codes and resulting DAC output to be viewed on scope.
標簽: Approximation Successive conversion program
上傳時間: 2015-08-07
上傳用戶:頂得柱
8點基二fft Fast Fourier Transform (FFT). Using 8 points, takes about 1.2 ms to execute one FFT. Sets up General Purpose Timer 1 to generate events at 10 kHz. Will produce 10 kHz output on T1PWM and T1PWM pins.
標簽: FFT Transform Fourier execute
上傳時間: 2013-12-18
上傳用戶:Yukiseop
The book "The Finite Difference Time Domain for Electromagnetics" by Karl Kunz and Raymond Luebbers, CRC Press, 1993, contains an FDTD code and output files in Appendix B. The same code and output files are contained in this directory.
標簽: Electromagnetics Difference The Luebbers
上傳時間: 2013-12-29
上傳用戶:chongcongying
利用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