遙控解碼通過電腦串口顯示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar data IRcode[4] //定義一個4字節(jié)的數(shù)組用來存儲代碼 uchar CodeTemp //編碼字節(jié)緩存變量 uchar i,j,k //延時用的循環(huán)變量 sbit IRsignal=P3^2 //HS0038接收頭OUT端直接連P3.2(INT0) /**************************延時0.9ms子程序**********************/ void Delay0_9ms(void) {uchar j,k for(j=18 j>0 j--) for(k=20 k>0 k--) } /***************************延時1ms子程序**********************/ void Delay1ms(void) {uchar i,j for(i=2 i>0 i--) for(j=230 j>0 j--) }
標(biāo)簽: uchar unsigned 11.0569 include
上傳時間: 2013-12-12
上傳用戶:Breathe0125
Instead of finding the longest common subsequence, let us try to determine the length of the LCS. Then tracking back to find the LCS. Consider a1a2…am and b1b2…bn. Case 1: am=bn. The LCS must contain am, we have to find the LCS of a1a2…am-1 and b1b2…bn-1. Case 2: am≠bn. Wehave to find the LCS of a1a2…am-1 and b1b2…bn, and a1a2…am and b b b b1b2…bn-1 Let A = a1 a2 … am and B = b1 b2 … bn Let Li j denote the length of the longest i,g g common subsequence of a1 a2 … ai and b1 b2 … bj. Li,j = Li-1,j-1 + 1 if ai=bj max{ L L } a≠b i-1,j, i,j-1 if ai≠j L0,0 = L0,j = Li,0 = 0 for 1≤i≤m, 1≤j≤n.
標(biāo)簽: the subsequence determine Instead
上傳時間: 2013-12-17
上傳用戶:evil
[Flash煙冒效果] Flash 8 後版本適用,利用新增濾鏡功能模擬煙冒效果。
上傳時間: 2017-02-28
上傳用戶:yulg
Verilog HDL的程式,上網(wǎng)找到SPI程式, vspi.v這程式相當(dāng)好用可用來接收與傳送SPI,並且寫了一個傳輸信號測試,spidatasent.v這程式就是傳送的資料,分別為00 66... 01 77...... 02 55這樣的資料,並透過MAX+PULS II軟體進行模擬,而最外層的程式是test_createspi.v!
上傳時間: 2017-03-06
上傳用戶:onewq
作者的課外作業(yè),模擬封包(packet)標(biāo)頭,將之轉(zhuǎn)成二進制,再顯示二進制的相加結(jié)果,再做一的補數(shù)。 (並附上html檔,不會java的,直接開啟html即可執(zhí)行)
標(biāo)簽:
上傳時間: 2014-01-06
上傳用戶:xjz632
張智星的MATLAB介紹,主要是學(xué)習(xí)MATLAB的應(yīng)用,如何操作和模擬。
標(biāo)簽: MATLAB
上傳時間: 2013-12-20
上傳用戶:baiom
根據(jù)等候理論,可以模擬客戶與service之間的數(shù)值關(guān)係
標(biāo)簽:
上傳時間: 2014-01-20
上傳用戶:luopoguixiong
//初始化 initscr() //獲得屏幕尺寸 getmaxyx(stdscr, h, w) //畫背景 for(i=0 i<h i++) for(j=0 j<w j++){ mvaddch(i, j, ACS_CKBOARD) } refresh() //建立窗口 pad = newpad(80, 128) for(i=0 i<80 i++){ char line[128] sprintf(line, "This line in pad is numbered d\n", i) mvwprintw(pad, i, 0, line) } //刷新屏幕 refresh() prefresh(pad, 0, 1, 5, 10, 20, 45) for(i=0 i<50 i++){ prefresh(pad, i+1, 1, 5, 10, 20, 45) usleep(30000) } //等待按鍵 getch()
標(biāo)簽: getmaxyx initscr stdscr for
上傳時間: 2014-08-30
上傳用戶:龍飛艇
在本文中,我們首先實作了 一個針對壓縮視訊(像是 H.264/AVC)之畫面解析度 改善 的方法。接著,我們分析這個方法的模擬結(jié)果。
標(biāo)簽:
上傳時間: 2013-12-28
上傳用戶:dapangxie
嚴(yán)格按照BP網(wǎng)絡(luò)計算公式來設(shè)計的一個matlab程序,對BP網(wǎng)絡(luò)進行了優(yōu)化設(shè)計 優(yōu)化1:設(shè)計了yyy,即在o(k)計算公式時,當(dāng)網(wǎng)絡(luò)進入平坦區(qū)時(<0.0001)學(xué)習(xí)率加大,出來后學(xué)習(xí)率又還原 優(yōu)化2:v(i,j)=v(i,j)+deltv(i,j)+a*dv(i,j)
標(biāo)簽: matlab yyy BP網(wǎng)絡(luò) 計算公式
上傳時間: 2014-11-30
上傳用戶:妄想演繹師
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1