// This program measures the voltage on an external ADC input and prints the // result to a terminal window via the UART. // // The system is clocked using the internal 24.5MHz oscillator. // Results are printed to the UART from a loop with the rate set by a Delay // based on Timer 2. This loop periodically reads the ADC value from a global // variable, Result.
標(biāo)簽: the measures external program
上傳時(shí)間: 2013-12-27
上傳用戶:trepb001
在QPSK下的OFDM誤碼率仿真程序,其中包含comb.m,Delay.m,fade.m,giins.m,girem.m,ofdm_fading.m,qpskdemod.m,qpskmod.m,sefade.m這些文件
上傳時(shí)間: 2014-07-18
上傳用戶:hopy
1. 以單極 2相磁化方式使步進(jìn)電機(jī)正向旋轉(zhuǎn) 2. 按中斷開關(guān)的話,正-〉逆,逆-〉正 旋轉(zhuǎn)。 3. 不使用Delay函數(shù),使用定時(shí)器/計(jì)數(shù)器
上傳時(shí)間: 2014-12-06
上傳用戶:xuanchangri
12864液晶原程序.#include <reg52.h> #include <intrins.h> typedef unsigned char BYTE typedef bit BOOL sbit rs=P2^0 sbit rw=P2^1 sbit e =P2^2 BYTE code dis[]={"www.zansi.com"} Delay(BYTE ms) {
標(biāo)簽: include unsigned intrins typedef
上傳時(shí)間: 2016-04-25
上傳用戶:zsjinju
a screen handling program to provide a flashing message. You will have to design a screen layout for where messages are placed on the screen. You will also have to consider when to Delay the program in order to give the user time to read the messages. That is, the program will use the curses library, signals and the sleep function.
標(biāo)簽: screen handling flashing program
上傳時(shí)間: 2016-05-04
上傳用戶:chongcongying
ns2初學(xué)者原創(chuàng)程序,為三節(jié)點(diǎn)有線連接tcl文件,以及分析throught,loss,Delay參數(shù)的awk文件和運(yùn)行結(jié)果。并對不同連接帶寬參數(shù)下對腳本進(jìn)行修改,分析不同情況下參數(shù)的變化。適合剛剛使用ns2以及awk的初學(xué)者。
上傳時(shí)間: 2014-09-06
上傳用戶:zhyiroy
能讓單片機(jī)唱歌的程序,這個(gè)程序采用單片機(jī)不同Delay時(shí)間的不同來模擬唱歌的效果
上傳時(shí)間: 2013-12-16
上傳用戶:王者A
很完整的51串口程序 包括如下: 串口中斷服務(wù)程序,僅需做簡單調(diào)用即可完成串口輸入輸出的處理 出入均設(shè)有緩沖區(qū),大小可任意設(shè)置。 可供使用的函數(shù)名: char getbyte(void) 從接收緩沖區(qū)取一個(gè)byte,如不想等待則在調(diào)用前檢測inbufsign是否為1。 getline(char idata *line, unsigned char n) 獲取一行數(shù)據(jù)回車結(jié)束,必須定義最大輸入字符數(shù) putbyte(char c) 放入一個(gè)字節(jié)到發(fā)送緩沖區(qū) putbytes(unsigned char *outplace,j) 放一串?dāng)?shù)據(jù)到發(fā)送緩沖區(qū),自定義長度 putstring(unsigned char code *puts) 發(fā)送一個(gè)定義在程序存儲(chǔ)區(qū)的字符串到串口 puthex(unsigned char c) 發(fā)送一個(gè)字節(jié)的hex碼,分成兩個(gè)字節(jié)發(fā)。 putchar(uchar c,uchar j) 輸出一個(gè)無符號字符數(shù)的十進(jìn)制表示,必須標(biāo)示小數(shù)點(diǎn)的位置,自動(dòng)刪除前面無用的零 putint(uint ui,uchar j) 輸出一個(gè)無符號整型數(shù)的十進(jìn)制表示,必須標(biāo)示小數(shù)點(diǎn)的位置,自動(dòng)刪除前面無用的零 Delay(unsigned char d) 延時(shí)n x 100ns putinbuf(uchar c) 人工輸入一個(gè)字符到輸入緩沖區(qū) CR 發(fā)送一個(gè)回車換行
上傳時(shí)間: 2016-06-13
上傳用戶:epson850
以下是從一維數(shù)據(jù)計(jì)算最大Lyapunov指數(shù)的算法源程序,在Visual C++中通過。 其中number一數(shù)據(jù)總量,dimension一重構(gòu)維,Delay-重構(gòu)延遲,maxsplit一最大分離量 minsplit一最小分離量,iterates一迭代次數(shù),resource-一維數(shù)據(jù)序列。
標(biāo)簽: Lyapunov 數(shù)據(jù)計(jì)算 算法 源程序
上傳時(shí)間: 2013-12-22
上傳用戶:chenbhdt
SoftTimer.h 利用定時(shí)器T2模擬多個(gè)軟件定時(shí)器 特點(diǎn): 只占用一個(gè)硬件定時(shí)器T2,就可以擴(kuò)展出多達(dá)數(shù)十個(gè)以上的軟件定時(shí)器 軟件定時(shí)器基本定時(shí)單位是10ms,定時(shí)范圍很寬:0.01~163.84s 軟件定時(shí)器數(shù)量可以按需要設(shè)定,每增加一個(gè),只多消耗2個(gè)字節(jié)的RAM空間 利用定時(shí)器T2的自動(dòng)重裝特性,能夠?qū)崿F(xiàn)所有軟件定時(shí)器的精確定時(shí) 所有軟件定時(shí)器都工作在14位倒計(jì)時(shí)方式,用TR和TF位控制,使用極為方便 第0號定時(shí)器專門用于Delay()函數(shù),其它定時(shí)器可供用戶程序自由使用
標(biāo)簽: SoftTimer 定時(shí)器 模擬 軟件定時(shí)器
上傳時(shí)間: 2014-01-16
上傳用戶:黑漆漆
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1