一鍵多功能按鍵識別技術 如圖4.9.1所示,開關SP1接在P3.7/RD管腳上,在AT89S51單片機的P1端口接有四個發光二極管,上電的時候,L1接在P1.0管腳上的發光二極管在閃爍,當每一次按下開關SP1的時候,L2接在P1.1管腳上的發光二極管在閃爍,再按下開關SP1的時候,L3接在P1.2管腳上的發光二極管在閃爍,再按下開關SP1的時候,L4接在P1.3管腳上的發光二極管在閃爍,再按下開關SP1的時候,又輪到L1在閃爍了,如此輪流下去。
上傳時間: 2015-06-13
上傳用戶:jyycc
可預置可逆4位計數器 利用AT89S51單片機的P1.0-P1.3接四個發光二極管L1-L4,用來指示當前計數的數據;用P1.4-P1.7作為預置數據的輸入端,接四個撥動開關K1-K4,用P3.6/WR和P3.7/RD端口接兩個輕觸開關,用來作加計數和減計數開關
上傳時間: 2014-01-15
上傳用戶:海陸空653
KS0070(44780) 16x2 字符液晶屏驅動演示程序總線方式。 連接線圖: DB0--P0.0 DB4--P0.4 RW--P2.0 DB1--P0.1 DB5--P0.5 RC--P2.1 DB2--P0.2 DB6--P0.6 E--P2.7 =>74ls00+wr+rd DB3--P0.3 DB7--P0.7 VLCD接1K2電阻到GND [注]:AT89C51的晶振頻率為12MHz
上傳時間: 2013-12-18
上傳用戶:lizhen9880
24C01的讀寫程序,C51源代碼 調用方式:write_8bit(unsigned char ch) ﹫2001/03/23 函數說明:內函數,私有,用戶不直接調用。
上傳時間: 2015-08-07
上傳用戶:cc1015285075
輸入信號:左轉彎傳感器LH,右轉彎傳感器RH和緊急制動或慢行傳感器JMH,另外,汽車尾燈主要是給后面行使汽車的司機注意。為了使尾燈的光信號更明顯,采用亮滅交替的閃爍信號,其閃爍周期為2秒,即尾燈亮1秒,滅1秒,再亮1秒…。在圖9-21中設置了一個1秒時鐘的輸入信號CP。 輸出信號:輸出共設兩個,左面一個尾燈,右面一個尾燈,既左轉彎時指示燈LD和右轉彎時指示燈RD。
上傳時間: 2013-12-15
上傳用戶:GHF
MDO1鋪設好了數據結構和主調函數。但是發現在輸出顯示目錄和添加刪除時比較麻煩,所以想改用結構體,雙向鏈表和棧實現。 MDO2實現了用棧顯示出當前路徑 MDO3實現了cmd中輸入路徑名成查找到當前目錄的問題。各種情況和cmd的路徑一樣。 MDO4實現了MD,MK,RD,DEL功能,但是只能在當前目錄下操作創建刪除文件夾。
上傳時間: 2013-12-19
上傳用戶:變形金剛
m16+cp2200組成的網絡接口。 m16使用內部RC振蕩8M,如果要提高主頻,請注意修改模擬總線讀函數。 cp2200模塊使用www.icdev.com.cn的,更改pin44連接VCC,即總線復用方式,地址數據復用。 軟件編寫使用avrstudio4.12+sp4+winavr(avrstudio自帶的winavr嵌入方式)。 硬件連接: m16 | cp2200 PORTA | AD0-7 PB0 | RST PB1 | CS PB2 | RD PB3 | WR PD2 | INT PD3 | ALE(A3) 由于采用的是m16做為主控,只能使用總線模擬方式,其讀寫速度有限,經測試約為雙向11.8kBps(90kbps)。 由于ram有限,僅僅采用了332Bytes的數據緩沖做為收發buffer,超過此長度的以太網包將拋棄。 此工程文件僅僅做為cp220x的一個移植范例,高級tcpip應用代碼因商業緣故不會提供,請勿找我詢問。
上傳時間: 2015-09-13
上傳用戶:zhengzg
sd2003芯片資料及源碼,C51下的,可以直接使用,不是廠方提供的測試程序, 相應子程序: extern void ini_SD2003(void) extern bit mend_scl_SD2003(void) extern bit start_bit_SD2003(void) extern void stop_bit_SD2003(void) extern void ack_SD2003(void) extern void no_ack_SD2003(void) extern void mast_ack_SD2003(void) extern void write_8bit_SD2003(UCHAR ch) extern UCHAR Read_8bit_SD2003(void) extern void write_8bit_SD2003_R(UCHAR ch) extern UCHAR Read_8bit_SD2003_R(void) extern bit Readblock_SD2003(UCHAR ucommand,UCHAR *p) extern bit Writeblock_SD2003(UCHAR ucommand,UCHAR *p)
上傳時間: 2015-09-14
上傳用戶:zl5712176
HDOJ ACM input:The input consists of T test cases. The number of test cases ) (T is given in the first line of the input. Each test case begins with a line containing an integer N , 1<=N<=200 , that represents the number of tables to move. Each of the following N lines contains two positive integers s and t, representing that a table is to move from room number s to room number t (each room number appears at most once in the N lines). From the N+3-rd line, the remaining test cases are listed in the same manner as above.
上傳時間: 2015-10-18
上傳用戶:三人用菜
This paper studies the problem of categorical data clustering, especially for transactional data characterized by high dimensionality and large volume. Starting from a heuristic method of increasing the height-to-width ratio of the cluster histogram, we develop a novel algorithm – CLOPE, which is very fast and scalable, while being quite effective. We demonstrate the performance of our algorithm on two real world
標簽: data transactional categorical clustering
上傳時間: 2015-10-24
上傳用戶:evil