]本文介紹了如何利用CPLD(復雜可編程邏輯器件)與單片機的結合實現(xiàn)并行I/\r\nO(輸入/輸出)接口的擴展。該設計與用8255做并行I/O接口相比,與單片機軟件完全兼容,\r\n同時擁有速度快,功耗低,價格便宜,使用靈活等特點
上傳時間: 2013-08-14
上傳用戶:xa_lgy
Dongle泛指任何能插到電腦上的小型硬體,PC TV dongle則是用來在PC上觀看電視節(jié)目所用的擴充裝置。一般來說,依照採用的電視訊號規(guī)格,PC TV dongle可區(qū)分成兩大類:若使用的訊源為數(shù)位訊號,則屬於數(shù)位PC TV dongle;若使用的是類比訊號,則屬於類比PC TV dongle。全球各地皆有不同的採納階段,且推行的廣播標準也不盡相同。
上傳時間: 2013-12-12
上傳用戶:lifangyuan12
if (pfile() == 0) unlink(inname) else fprintf(stderr, "%s: I/O Error -- File unchanged\n", inname) fclose(outfile) fclose(infile) } exit(0)
標簽: unchanged fprintf inname unlink
上傳時間: 2015-03-12
上傳用戶:l254587896
對二維粘性不可壓N-S方程求解,生成O型網(wǎng)格
上傳時間: 2014-01-04
上傳用戶:chongcongying
設計一個O(n2)時間的算法,找出由n個數(shù)組成的序列的最長單調(diào)遞增子序列。
上傳時間: 2015-07-15
上傳用戶:qq21508895
停車場是一條可以停放n輛車的狹窄通道,且只有一個大門汽車停放安到達時間的先后依次由北向南排列(大門在最南端,最先到達的第一輛車停在最北端)若停車場已經(jīng)停滿n輛車,后來的汽車在便道上等候,一旦有車開走,排在便道上的第一輛車可以開入;當停車場的某輛車要離開時,停在他后面的車要先后退為他讓路,等它開出后其他車在按照原次序開入車場,每兩停在車場的車要安時間長短繳費。 要求:以棧模擬停車場,以隊列車場外的便道,按照從終端輸入的數(shù)據(jù)序列進行模擬管理。每一組數(shù)據(jù)包括三個數(shù)據(jù)項:汽車“到達”或“離去”信息、汽車牌照號碼、以及到達或離去的時刻。對每一組數(shù)據(jù)進行操作后的信息為:若是車輛到達,則輸出汽車在停車場的內(nèi)或便道上的位置:若是車輛離去則輸出汽車在停車場內(nèi)的停留時間和應繳納的費用(在便道上的停留時間不收費)。棧以順序結構實現(xiàn),隊列以鏈表結構實現(xiàn)。
標簽: 停車場
上傳時間: 2014-01-25
上傳用戶:hanli8870
一個很好用的 lcd 時鐘程序 C語言 #include<reg51.h> #include<stdio.h> //定義計時器0 的重裝值 #define RELOAD_HIGH 0x3C #define RELOAD_LOW 0xD2 //定義按鍵彈跳時間 #define DB_VAL //定義設置模式的最大時間間隔 #define TIMEOUT 200 //定義游標位置常數(shù) #define HOME 0 #define HOUR 1 #define MIN 2 #define SEC 3
標簽: include define RELOAD stdio
上傳時間: 2014-12-19
上傳用戶:zukfu
Embest S3C44B0X Evaluation Board RTC Test Example RTC Check(Y/N)? y Set Default Time at 2004-12-31 FRI 23:59:59 Set Alarm Time at 2005-01-01 00:00:01 ... RTC Alarm Interrupt O.K. ... Current Time is 2005-01-01 SAT 00:00:01 RTC Working now. To set date(Y/N)? y Current date is (2005,01,01, SAT). input new date (yy-mm-dd w): 5-2-23 3 Current date is: 2005-02-23 WED RTC Working now. To set time(Y/N)? y Current time is (00:00:21). To set time(hh:mm:ss): 19:32:5 Current Time is 2005-02-23 WED 19:32:
標簽: Evaluation RTC S3C44B0X Default
上傳時間: 2014-01-03
上傳用戶:baiom
在sco unix 下顯示前n天或后n天日期的處理程序。 printf("功能: 時間戳與時間格式字符串的轉(zhuǎn)換程序\n") printf(" -i 輸入的參數(shù)為時間戳\n") printf(" -s 輸入的參數(shù)為格式化時間\n") printf(" -t 輸入的時間取當前系統(tǒng)時間\n") printf(" -x 輸入的時間增加或減少的天數(shù)\n") printf(" -o 輸出的時間為時間戳格式\n") printf(" -O 輸出的時間為格式化時間\n") printf(" -h 幫助文件-查看[format]如何定義,例 %s -h\n",procname) printf("范例:1 取當前日期的前2天的時間顯示 %s -t -x -2\n",procname) printf(" 2 取20030101的前5天的時間顯示 %s -s 20030101000000 -x -5\n",procname) printf(" 3 取20031231的后5天的時間顯示 %s -s 20031231000000 -x 5 -O \"%%D %%T\"\n",procname) printf(" 4 取時間戳為1089619417的時間顯示 %s -i 1089619417 \n",procname) printf(" 5 取時間戳為1089619417的后4天的時間顯示 %s -i 1089619417 -x 4 \n",procname)
上傳時間: 2015-10-17
上傳用戶:TRIFCT
acm HDOJ 1051WoodenSticks Description: There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing a stick. The setup times are associated with cleaning operations and changing tools and shapes in the machine. The setup times of the woodworking machine are given as follows: (a) The setup time for the first wooden stick is 1 minute. (b) Right after processing a stick of length l and weight w , the machine will need no setup time for a stick of length l and weight w if l<=l and w<=w . Otherwise, it will need 1 minute for setup.
標簽: WoodenSticks Description length wooden
上傳時間: 2014-03-08
上傳用戶:netwolf