編寫程序,程序運行時使PC機成為一架可彈奏的“鋼琴”。當按下數字鍵0~9時,發出6,7,1,2,3,4,5,6,7,i,十個音調,按‘.’則退出“鋼琴”狀態。
上傳時間: 2017-02-04
上傳用戶:zycidjl
漢諾塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C
標簽: the animation Simulate movement
上傳時間: 2017-02-11
上傳用戶:waizhang
程序所在目錄:ex5_SPI D/A 轉換芯片選用的是SPI 接口的TLC5620,串行4 通道8 位DA 轉換。 打開CC2000,進行如下操作: 1.Project->Open ,打開該目錄中的工程文件。 2.Project->Rebuild ALL,編譯鏈接 3.File->Load Program 4.Debug->GO Main 5.Debug->RUN (快捷鍵F5) 用示波器可以看到DA_OUT1 接口輸出三角波 DA_OUT2 輸出三角波 用萬用表可以測到DA_OUT3 輸出2.475V DA_OUT4 輸出1.65V 各路的DA 輸出均由程序控制,用戶可參照程序中的注釋更改。
上傳時間: 2017-04-26
上傳用戶:zhanditian
超低功耗電子溫度計-具備功能: (1) 檢測溫度范圍10~30℃,分辨率1℃; (2) 正確顯示溫度; (3) 整機靜態功耗小于5微安(關閉LCD顯示,時鐘正常運行); (4) 按鍵喚醒顯示; 1.1.2發揮要求 (1) 溫度控制功能(能夠演示出控制功能的存在); (2) 顯示時分秒的時鐘功能(能夠正常切換和顯示); (3) 其他功能;
上傳時間: 2013-12-09
上傳用戶:shanml
簡易交通燈 。 有四個狀態0,1,2,3 數碼管為2位7段共陽數碼管,可以通過修改i,j的值進而修改倒計時的長短。
上傳時間: 2013-12-24
上傳用戶:亞亞娟娟123
介紹I2C 總線規范................................................................................................... 6 4 I2C 總線的概念....................................................................................................... 6 5 總體特征................................................................................................................. 7 6 位傳輸..................................................................................................................... 7 6.1 數據的有效性..................................................................................................................... 7 6.2 起始和停止條件
上傳時間: 2013-12-15
上傳用戶:lgnf
在redhat e5中安裝oracle11g之前的安裝檢查,其實是unixODBC2.2.11-7.1的安裝包,包括i386和x64
上傳時間: 2013-12-22
上傳用戶:TF2015
Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test case, the first line contains the number of vertices (n) and the number of arcs (m). Then, there exist m lines, one for each arc (source vertex, ending vertex and arc weight, separated by a space). The nodes are numbered from 1 to n. The node 1 and node n should be in different sets. There are no more than 30 arcs and 15 nodes. The arc weights vary between 1 and 1 000 000. Output: The output is a single line for each case, with the corresponding minimum size cut. Example: Input: 7 11 1 2 3 1 4 3 2 3 4 3 1 3 3 4 1 3 5 2 4 6 6 4 5 2 5 2 1 5 7 1 6 7 9 Output: 5
標簽: Implementation calculates algorithm Edmonds
上傳時間: 2014-01-04
上傳用戶:kiklkook
如何編寫讀/寫一個字節的函數呢? 1. 讀一個字節 uchar tmpread(void) //read a byte date 讀一個字節 { uchar i,j,dat dat=0 for(i=1 i<=8 i++) { j=tmpreadbit() dat=(j<<7)|(dat>>1) //讀出的數據最低位在最前面,這樣剛好一個字節在DAT里 } return(dat) //將一個字節數據返回 }
上傳時間: 2017-09-06
上傳用戶:gengxiaochao
電子基礎類專輯 153冊 2.20G模擬電子 1.3M.exe
標簽:
上傳時間: 2014-05-05
上傳用戶:時代將軍