單片機RS232/RS485串行發(fā)送實驗(雙機通訊)。 實驗步驟: (1),準(zhǔn)備兩臺598K實驗機,確定1號機為發(fā)送,2號機為接收; (2),當(dāng)作RS232接口實驗時,1號機和2號機的P3.0和P3.1交叉相連,且兩機共地; (3),當(dāng)作RS485接口實驗時,1號機和2號機的A、B作對應(yīng)連接,同時1,2號機的R/TEN接P1.0, P3.0接R0, P3.1接DI。 (4),先運行2號機,鍵入[27]-->[EV]使2號機處于接收狀態(tài)P。,后運行1號機[26]-->[EV]使1號機處于發(fā)送狀態(tài),P。會閃爍,在1號機鍵盤上按動數(shù)字鍵,在2號機的數(shù)碼管上應(yīng)顯示對應(yīng)的數(shù)字鍵值。
上傳時間: 2015-11-27
上傳用戶:thinode
本題的算法中涉及的三個函數(shù): double bbp(int n,int k,int l) 其中n為十六進(jìn)制位第n位,k取值范圍為0到n+7,用來計算16nS1,16nS2,16nS3,16nS4小數(shù)部分的每一項。返回每一項的小數(shù)部分。 void pi(int m,int n,int p[]) 計算從n位開始的連續(xù)m位的十六進(jìn)制數(shù)字。其中p為存儲十六進(jìn)制數(shù)字的數(shù)組。 void div(int p[]) void add(int a[],int b[]) 這兩個函數(shù)都是為最后把十六進(jìn)制數(shù)字轉(zhuǎn)換為十進(jìn)制數(shù)字服務(wù)的。 最后把1000個數(shù)字分別存儲在整型數(shù)組r[]中,輸出就是按順序輸出該數(shù)組。
上傳時間: 2014-01-05
上傳用戶:xcy122677
BG碼轉(zhuǎn)換程序是一個二進(jìn)制碼(Binary,簡稱 B碼)與格雷碼(Gray Code,簡稱G碼)相互轉(zhuǎn)換的軟件.
標(biāo)簽: Binary 轉(zhuǎn)換 程序 二進(jìn)制碼
上傳時間: 2014-12-19
上傳用戶:hgy9473
Java 版本的 PHP serialize/unserialize 完整實現(xiàn)。目前實現(xiàn)了對各種基本類型、數(shù)組、ArrayList、HashMap、和其它可序列化對象的序列化。實現(xiàn)了 PHP 5 中的Serializable 接口的支持。實現(xiàn)了 PHP 中的 __sleep 和 __wakeup 魔術(shù)方法的支持。實現(xiàn)了對所有標(biāo)示(N、b、i、d、s、a、O、R、r、U、C)的反序列化,在對標(biāo)示 a 反序列化時,可以根據(jù)下標(biāo)和值來自動判斷是 ArrayList 還是 HashMap。并且在反序列化時可以強制指定反序列化的類型。該類是靜態(tài)類,無需也不能被實例化。除了包含了 serialize 和 unserialize 方法以外,還增加了一個 cast 方法,用來進(jìn)行反序列化后的類型轉(zhuǎn)換,該方法主要用于將反序列化后的 ArrayList 轉(zhuǎn)化為數(shù)組或者 HashMap。
標(biāo)簽: unserialize ArrayList PHP serialize
上傳時間: 2016-01-06
上傳用戶:奇奇奔奔
目前網(wǎng)上常見的是英文版本的,這里是貝加萊B&R 2005控制系統(tǒng)用戶手冊的中文版本。
上傳時間: 2013-12-20
上傳用戶:wangyi39
計算機彩色顯示器顯示色彩的原理與彩色電視機一樣,都是采用R(Red)、G(Green)、B(Blue)相加混色的原理:
上傳時間: 2016-02-12
上傳用戶:zhouchang199
DirectX not only provides fast access to the hardware and therefore incredibly speedy performance, but it also makes it much easier for hardware developers to produce new devices that work well in the Windows environment. The DirectX APIs take away the necessity of writing your own low-level, device-specific code to access hardware such as the display adapter and network card, making it much easier for you to write programs that take full advantage of the computer s multimedia capabilities.
標(biāo)簽: performance incredibly therefore hardware
上傳時間: 2016-02-16
上傳用戶:秦莞爾w
Koders makes it easy for software developers to find existing source code that solves many common development problems with our vast index of working source code from a variety of open source projects.
標(biāo)簽: developers existing software Koders
上傳時間: 2016-05-13
上傳用戶:ccclll
Koders makes it easy for software developers to find existing source code that solves many common development problems with our vast index of working source code from a variety of open source projects.
標(biāo)簽: developers existing software Koders
上傳時間: 2014-12-01
上傳用戶:ANRAN
Koders makes it easy for software developers to find existing source code that solves many common development problems with our vast index of working source code from a variety of open source projects.
標(biāo)簽: developers existing software Koders
上傳時間: 2014-01-11
上傳用戶:er1219
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1