STM32是以Cortex-M3為核的處理器,該例程介紹STM32下對CAN操作的例子。CAN總線在嵌入式領域經常使用,特別是汽電子。
上傳時間: 2016-10-10
上傳用戶:TF2015
練習javaBean的使用,一個顯示計算機配件名稱及價格的網頁,用JavaBean來存儲配件名稱及價格。可以幫助初學者熟悉和理解javaBean
標簽: javaBean
上傳時間: 2013-12-25
上傳用戶:亞亞娟娟123
PC與單片機雙向通訊智能溫控程序 #include <AT89X51.H> #include <intrins.h> #define Key_UP P1_0 #define Key_DOWN P1_1 #define Key_SET P1_2 #define RelayOutPort P2_0 #define LEDPort P0 #define DELPort P2_1 #define LEDTwoC P3_6 #define LEDThreeC P3_7 #define TMPort P2_7 #define INBUF_LEN 5 //數據長度 unsigned char inbuf1[INBUF_LEN]={ 0 , 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 TMOD |= 0x20 //TMOD: timer 1, mode 2, 8-bit reload PCON |= 0x80 //SMOD=1 TH1 = 0xFA //Baud:4800 fosc=11.0592MHz IE |= 0x90 //Enable Serial Interrupt TR1 = 1 // timer 1 run } //向串口發送一個字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
標簽: include intrins define Key_UP
上傳時間: 2014-11-29
上傳用戶:風之驕子
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
練習JavaBean的初步使用,一個顯示計算機配件名稱及價格的網頁,用JavaBean來存儲配件名稱及價格
標簽: JavaBean
上傳時間: 2017-01-31
上傳用戶:66666
簡單的加密算法,可逆與不可逆 數據加密: 算法1:(不可逆) 將ASCII表中32~~126中的字符,加密后,顯示為128~~255的字符. 128~~255的字符會讓人看起來頭痛些。。。。。。安全. 當ch[?]的值為偶數時:ch[?]=255-ch[?]的個位*10-ch[?]的十位 當ch[?]的值為奇數時: ch[?]=128+ch[?]的個位*10+ch[?]的十位 當ch[?]的值為質數時:ch[?]=128+ch[?]的個位+ch[?]的十位 算法2:(可逆) 當ch[?]的值能被3整除時:ch[?]-=2,否則ch[?]-=3
上傳時間: 2014-11-10
上傳用戶:李夢晗
簡單的加密解密算法,可逆與不可逆 數據加密: 算法1:(不可逆) 將ASCII表中32~~126中的字符,加密后,顯示為128~~255的字符. 128~~255的字符會讓人看起來頭痛些。。。。。。安全. 當ch[?]的值為偶數時:ch[?]=255-ch[?]的個位*10-ch[?]的十位 當ch[?]的值為奇數時: ch[?]=128+ch[?]的個位*10+ch[?]的十位 當ch[?]的值為質數時:ch[?]=128+ch[?]的個位+ch[?]的十位 算法2:(可逆) 當ch[?]的值能被3整除時:ch[?]-=2,否則ch[?]-=3
上傳時間: 2017-02-24
上傳用戶:txfyddz
This is GPS Matlab findPreambles finds the first preamble occurrence in the bit stream of each channel. The preamble is verified by check of the spacing between preambles [6sec] and parity checking of the first two words in a subframe. At the same time function returns list of channels, that are in tracking state and with valid preambles in the nav data stream.
標簽: findPreambles occurrence the preamble
上傳時間: 2013-12-23
上傳用戶:秦莞爾w
3rd Generation Partnership Project Technical Specification Group Radio Access Network Spatial channel model for Multiple Input Multiple Output [MIMO] simulations
標簽: Specification Partnership Generation Technical
上傳時間: 2014-01-11
上傳用戶:nanfeicui
一個用pb開發的進銷存管理信息系統,適用于汽車配件行業。略做修改,也可以應用于其它行業。包含幫助文件。
上傳時間: 2017-03-26
上傳用戶:asddsd