遙控解碼通過電腦串口顯示 /* 晶振: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--) }
標簽: uchar unsigned 11.0569 include
上傳時間: 2013-12-12
上傳用戶:Breathe0125
Video IO toolbox for matlab. 用directshow做的,比matlab自己的video IO函數(shù)強很多。
標簽: directshow toolbox matlab Video
上傳時間: 2017-02-03
上傳用戶:熊少鋒
:#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],int *(k1),int *(k2))//0:直接插入排序{ int i,j int temp *(k1)=0 *(k2)=0 for(i=0 i<149 i++) { temp=a[i+1] *(k2)++ ...
標簽: include InsertSort gt lt
上傳時間: 2014-11-30
上傳用戶:362279997
很經(jīng)典的一個算法。大家做工程和通信用的著。遺傳算法(Genetic Algorithm)是模擬達爾文的遺傳選擇和自然淘汰的生物進化過程的計算模型,是一種通過模擬自然進化過程搜索最優(yōu)解的方法,它是有美國Michigan大學(xué)J.Holland教授于1975年首先提出來的,并出版了頗有影響的專著《Adaptation in Natural and Artificial Systems》,GA這個名稱才逐漸為人所知,J.Holland教授所提出的GA通常為簡單遺傳算法(SGA)。
上傳時間: 2017-02-09
上傳用戶:wkchong
一些常用的74系列芯片好壞的檢測程序,用數(shù)顯管顯示
上傳時間: 2013-11-26
上傳用戶:王小奇
學(xué)習(xí)javascript的好資料! 第一講 JavaScript語言概況 第二講 JavaScript基本數(shù)據(jù)結(jié)構(gòu) 第三講 JavaScript程序構(gòu)成 第四講 基于對象的JavaScript語言 第五講 創(chuàng)建新對象 第六講 使用內(nèi)部對象系統(tǒng) 第七講 窗口及輸入輸出 第八講 WEB頁面信息交互 第九講 實現(xiàn)更復(fù)雜交互
標簽: JavaScript javascript 語言 數(shù)據(jù)結(jié)構(gòu)
上傳時間: 2014-01-06
上傳用戶:努力努力再努力
EE小站,詳細介紹,J-Link GDB Server + Eclipse CDT進行ARM程序調(diào)試
標簽:
上傳時間: 2017-02-16
上傳用戶:heart520beat
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.
標簽: the subsequence determine Instead
上傳時間: 2013-12-17
上傳用戶:evil
「到Petzold的書中找找」仍然是解決Windows程式開發(fā)各種疑難雜癥時的靈丹妙藥。在第五版的《Windows程式開發(fā)設(shè)計指南》中,作者身違背受敬重的Windows Pioneer Award(Windows開路先鋒獎)得主,依據(jù)最新版本W(wǎng)indows作業(yè)系統(tǒng),以可靠的取材資料校定這一本經(jīng)典之作一再一次深入探索了Win32程式設(shè)計介面的根本重心。
上傳時間: 2014-01-08
上傳用戶:cx111111
usb開發(fā)工具,封包監(jiān)測,數(shù)值驗證與除錯,監(jiān)看內(nèi)容可由使用者設(shè)定,不錯用!!
標簽: usb
上傳時間: 2014-11-23
上傳用戶:風(fēng)之驕子
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1