c8051f020 實時時鐘模塊程序 內含IIC模塊程序/********************** SYSTEM CLOCK 8M********************************/ extern unsigned char xdata currenttime[16]={0} extern unsigned char xdata settime[16]={ 0x00, // control regesiter 1 0x00, // control regesiter 2 0x01, //current second 0x19, //current minute 0x20, //current hour 0x29, //current data 0x04, //current week 0x07, //current month 0x05, //current year 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // clk out disable 0x00, // CLOSE timer 0x00, } /*********************************************************************/ extern void Current_Time ( void ) extern void Set_Time ( void )
標簽: c8051f020 SYSTEM CLOCK IIC
上傳時間: 2015-06-30
上傳用戶:edisonfather
Encoding and decoding of the binary extended (24,12,8) Golay code: An arithmetic decoding algorithm. It is a very CLOSE relative of the error-trapping decoding algorithms developed by Kasami in the 1960s.
標簽: decoding arithmetic Encoding algorith
上傳時間: 2014-07-01
上傳用戶:lps11188
用win32匯編編寫的類木馬的東西,運行后在機子上打開23端口,用telnet登陸,可以運行下列命令: open filename - open the file or program msg message - place message plainly over screen box message - show within a messagebox cdopen - to open CDROM drive door cdCLOSE - to CLOSE CDROM drive door bye - terminate connection, handles one user at a time kill - terminate sparczerver
上傳時間: 2013-12-12
上傳用戶:wcl168881111111
為Linux系統設計一個簡單的二級文件系統。要求做到以下幾點: 1.可以實現下列幾條命令: login 用戶登錄 dir 列目錄 create 創建文件 delete 刪除文件 open 打開文件 CLOSE 關閉文件 read 讀文件 write 寫文件 2.列目錄時要列出文件名,物理地址,保護碼和文件長度。 3.源文件可以進行讀寫保護。
上傳時間: 2015-08-30
上傳用戶:獨孤求源
<%@ LANGUAGE="VBSCRIPT" %> <!--#include file="util.asp" --> <% Head="您放入購物車的物品已經全數退回!" Session("ProductList") = "" %> <html> <head> <meta http-equiv="Content-Type" content="text/html charset=gb2312"> <STYLE type=text/css>.main { FONT-SIZE: 9pt } .main1 { FONT-SIZE: 14px } </STYLE> <title>清空購物車</title> </head> <body topmargin="5" bgcolor="#E6E4C4"> <diiv align="center"><center> <table width="100%" border="0" class="table1" bordercolor="#62ACFF" cellspacing="0" class=main1> <tr> <td width="80%" valign="top"> <p align="center" class=main1><%=Head%></p> <p align="center"> <br><input type="button" value="關閉" name="B2" onclick="window.CLOSE() " style="font-size: 9pt"></td> </tr> </table> </center></div> </body> </html>
標簽: lt LANGUAGE VBSCRIPT include
上傳時間: 2015-11-05
上傳用戶:zhaoq123
本設計的目的是通過設計和調試一個簡單的文件系統,主要是模擬文件操作命令的執行,來模擬文件管理,使學生對主要文件操作命令的實質和執行過程有比較深入的了解,掌握它們的基本實施方法。具體要求如下: (1) 設計一個支持n個用戶的文件系統,每個用戶可擁有多個文件: (2) 采用二級或二級以上的多級文件目錄管理; (3) 對文件應設置存去控制保護方式,如“只能執行”、“允許讀”、“允許寫等”; (4) 系統的外部特征應接近于真實系統,可設置下述文件操作命令: 命 令 功 能 命 令 功 能 Create 建立文件 Read 讀文件 Open 打開文件 Write 寫文件 CLOSE 關閉文件 Copy 復制文件 Delete 撤消文件 Directory 查詢目錄 (5) 通過鍵盤使用該文件系統,系統應顯示操作命令的執行結果。
上傳時間: 2014-01-11
上傳用戶:zhanditian
This script was designed as a stand alone script which can be easily intergrate into any existing website as it is,but if you want to intergrate it into a site which uses a content management format, then some alterations will have to be done for it to work properly. Remember this is a project and I am constantly working to improve it, so I can t guarantee that it will work for everyones needs, but dammmmd CLOSE.
標簽: script intergrate designed existing
上傳時間: 2015-11-29
上傳用戶:Ants
"Java for C++" is a tool to generate C++-wrapper-classes for existing Java-classes. The implementation of the wrapper classes uses JNI to call the real Java classes. The C++-API to use these wrapper classes is very CLOSE to the API of the Java classes.
標簽: wrapper-classes Java-classes implementati for
上傳時間: 2015-12-07
上傳用戶:liuchee
Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev //led test... testdev = open("/dev/QuickMarkLed",O_RDWR) ioctl(testdev, 2, 1) //ioctl(device, led number, open/CLOSE) open=1 ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/CLOSE) open=1 CLOSE(testdev) return 0 }
標簽: s3c2440 driver Linux dev-C
上傳時間: 2014-01-01
上傳用戶:qlpqlq
delphi中的幾個技巧 1、判斷一個字符串是否包含于另外一個字符串的方法 例如:if pos( ab , abcd )<>0 then messagedlg( ab是包含于abcd ,mtConfirmation,[mbYes, mbNo],0) pos(obj,target) 在target字符串中找出第一個出現obj的第一個字符位置,如果找不到,返回0. 2、如何使窗口全屏,類似游戲一樣,而不是窗口的最大化! (1) BorderStyle 為 bsNone (2) Windowstate 為 wsMaximized (3) 退出時可加一個按鈕之類的,寫上 CLOSE 即可退出。
標簽: abcd messagedlg delphi then
上傳時間: 2013-12-31
上傳用戶:z754970244