VB遙控播放器紅外遙控解碼 #include <regX52.h> #define c(x) (x*110592/120000) sbit Ir_Pin=P3^2 sbit beep=P2^1 //sbit RELAY=P2^0 #define INBUF_LEN 4 //數據長度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //發送緩沖區 unsigned char inbuf2[50] //接收緩沖區 unsigned char count3 void init_serialcomm( void ) { SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr T2CON=0x30 TH2=0x00 TL2=0x00 RCAP2H=0xFF RCAP2L=0xDC TR2=1 } //向串口發送一個字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
標簽: include 110592 120000 define
上傳時間: 2013-12-21
上傳用戶:yph853211
x,y,z,Modem協議實現的源碼-C語言
上傳時間: 2014-01-08
上傳用戶:colinal
CAN of C8051F500/F510 CAN 2.0 Bus 發送跟接收Keil C source sample code.可以用在CAN 2.x的上面喔~
上傳時間: 2013-12-26
上傳用戶:417313137
C語言巧妙的宏定義, 如:得到指定地址上的一個字節或字 #define MEM_B( x ) ( *( (byte *) (x) ) ) #define MEM_W( x ) ( *( (word *) (x)
上傳時間: 2013-12-20
上傳用戶:ztj182002
PKI系統對x.509格式數字證書的驗證的C++源碼實現,可直接點擊編譯執行
上傳時間: 2017-03-08
上傳用戶:bruce5996
利用經典的COOLEY-TUKEY基2算法求復序列x[n]的DFTX[k].有Fortran的子程序和主程序,還有C程序
標簽: COOLEY-TUKEY Fortran DFTX 程序
上傳時間: 2017-03-26
上傳用戶:xwd2010
進程間通信14 說明了進程控制原語并且觀察了如何調用多個進程。但是這些進程之間交換信息的 唯一方法是經由f o r k或e x e c傳送打開文件,或通過文件系統。本章將說明進程之間相互通信的 其他技術—I P C(InterProcess Communication)。
上傳時間: 2013-12-03
上傳用戶:zhenyushaw
本書介紹了MATLAB 7.X版本與其他語言混合編程的方法。內容包括在MATLAB中以文件方式導入、導出數據;在Windows和Linux開發C/C++語言的MEX文件;在Windows和Linux開發FORTRAN語言MEX文件;在MATLAB中使用動態連接庫文件;在C/C++語言中調用MATLAB引擎;使用MATLAB編譯器,以及如何在C/C++程序中使用mcc編譯的庫函數;在C++程序中使用MATLAB的COM編譯器產生的COM組件等。 本書可以作為高等院校各工程專業的教學參考書,也是廣大科技工作者必備的參考用書。
上傳時間: 2017-07-03
上傳用戶:libenshu01
面向對象的可視化建模培訓教程 [UML和Rational Rose/C++ Ver 4.x] 簡介 ROSE提供的不同視圖 配置用戶界面 問題描述 問題需求描述 Use Cases 建立Actors ,Use Case 和Use Case 圖 建立序列圖 建立協同圖 包和類 建立類、包和模版 重新分配類和包 建立類圖
上傳時間: 2017-07-31
上傳用戶:z754970244
including Python, C, Java, GNU/Linux, Windows XP, Symbian Series 60, and Mac OS X... ------------------------------------ Bluetooth Essentials for Programmers Author: Albert S. Huang, Larry Rudolph Publisher: Cambridge University Press Number Of Pages: 208 Publication Date: 2007-09-03 ISBN-10/ASIN: 0521703751 ISBN-13/EAN: 9780521703758 Binding: Paperback This book provides an introduction to Bluetooth programming, with a specific focus on developing real code. The authors discuss the major concepts and techniques involved in Bluetooth programming, with special emphasis on how they relate to other networking technologies. They provide specific descriptions and examples for creating applications in a number of programming languages and environments including Python, C, Java, GNU/Linux, Windows XP, Symbian Series 60, and Mac OS X. No previous experience with Bluetooth is assumed, and the material is suitable for anyone with some programming background. The autho……
標簽: including Windows Symbian Python
上傳時間: 2013-12-21
上傳用戶:caozhizhi