# include < reg52.h > # include < 24C02.h> # define uint unsigned int # define uchar unsigned char sbit rs = P3^5; //定義lcd1602的rs端 sbit lcden = P3^4;//定義lcd1602的lcden端口 sbit s1 = P3^0;//定義功能鍵s1 sbit s2 = P3^1;//定義功能鍵s2 sbit s3 = P3^2;//定義功能鍵s3 sbit beep = P2^3;//定義蜂鳴器 uchar count, s1num; char miao,fen,shi; uchar code table[] = "Designer:X_ZL ";//定義初始上電時液晶默認顯示狀態 void delay_ms( xms ) //定義延時函數 { uint i,j; for( i = xms ; i > 0 ; i --) for( j = 110 ; j > 0 ; j --); }
上傳時間: 2016-07-28
上傳用戶:游戲好嗎
#include <iostream.h> #include <string.h> #include <iomanip.h> #include "Stud.h" Stud::Stud(){} char *Stud::getno() //獲取學號 { return no; } char *Stud::getname() //獲取姓名 { return name; } char *Stud::getsex() //獲取性別 { return sex; } char *Stud::getminzu() //獲取民族 { return minzu; } char *Stud::getaddress() //獲取出生地 { return address; } char *Stud::getbirth() //獲取出生年月 { return birth; } int Stud::gettag() //獲取姓名 { return tag; } void Stud::changeno(char n[]) //設置學號 { strcpy(no,n); } void Stud::changename(char na[]) //設置姓名 { strcpy(name,na); } void Stud::changesex(char s[]) //設置性別 { strcpy(sex,s); } void Stud::changeminzu(char m[]) //設置民族 { strcpy(minzu,m); } void Stud::changeaddress(char a[]) //設置出生地 { strcpy(address,a); } void Stud::changebirth(char b[]) //設置出生年月 { strcpy(birth,b); } void Stud::addstudent(char *rn,char *rna) //增加學生 { strcpy(no,rn); strcpy(name,rna); } void Stud::addstudent(char *rn,char *rna,char *rs,char *rm,char *ra,char *rb) //增加學生 { tag=0; strcpy(no,rn); strcpy(name,rna); strcpy(sex,rs); strcpy(minzu,rm); strcpy(address,ra); strcpy(birth,rb); } void Stud::delstud() //設置刪除標記 { tag=1; } void Stud::disp() //輸出學生信息 { cout<<setw(15)<<no<<setw(10)<<name<<setw(10)<<sex<<setw(10)<<minzu<<setw(10)<<address<<setw(10)<<birth<<endl; } void Stud::display() //輸出學生信息 { cout<<setw(15)<<no<<setw(10)<<name; }
標簽: 學生
上傳時間: 2016-12-29
上傳用戶:767483511
功能簡介: 1、快速枚取整個網絡的計算機共享列表,提供共享文件夾磁盤映射及枚取MAC地址。 2、提供詳細的網絡連接狀態,支持查看TCP/UDP端口被相應的應用程序開啟。 3、提供系統進程管理,能顯示進程完整路徑,并支持停止系統核心進程。 4、快速查看本機的服務,支持停止、刪除系統服務。 5、快速查看本機共享文件夾,支持刪除共享文件夾。 6、提供Host文件管理,能夠添加網址及支持批量網址導入。 7、提供詳細的本機自動啟動程序管理,支持刪除。 8、快速恢復系統常見注冊表鍵值,支持拒絕遠程空連接。 9、提供三組網絡IP配置,為經常修改IP的您節約時間。 10、提供FTP服務器,能夠為您提供FTP文件傳輸,支持匿名及身份驗證。 11、提供端口轉發功能,能夠為您快速提供端口映射功能。 12、提供Sock5代理功能,能夠為您提供Sock5代理服務,支持身份驗證。 13、提供文件傳輸功能,軟件提供服務端及客戶端類型,不需要第三方軟件。 14、提供快速掃描局域網Mac地址,支持掃描結果保存。 15、提供快速驗證代理服務器是否有效,支持批量代理驗證。
標簽: nbtscan_mac 地址 掃描器
上傳時間: 2017-01-09
上傳用戶:jianxq@163.com
RS碼編譯碼算法的實現(學習RS碼極為有用).
標簽: rsma
上傳時間: 2017-02-14
上傳用戶:devil812
Quad RS-422/RS-485 Receivers MAX3095/MAX3096 DC ELECTRICAL CHARACTERISTICS—MAX3096 (continued)
上傳時間: 2017-03-07
上傳用戶:andyj
rs-232通信,驅動芯片max232實現單片機與單片機的通信 通信
上傳時間: 2017-12-16
上傳用戶:wb250
function [Rs,Ps]=move_corr(X,Y,a) %%%--- this function is for moving correlation %%%--- X,Y is the imput data, a is the length of the moving window %%%--- Rs is the spwarman correlation coeffcient, Ps is the p_vaue
上傳時間: 2017-12-27
上傳用戶:Clocks
利用simulink搭建異步電機模型; 掌握異步電機各參數對各輸出的影響。 1.搭建異步電機模型,電機參數:定子電阻Rs=1歐姆,轉子電阻Rr=1歐姆,定子漏感系數=1mH,轉子漏感系數=1mH,互感系數=20mH,轉動慣量Jm=0.25kgm^2,極對數Np=4。 2.用幅值為380V,頻率為50Hz,相位互差120度的三相勵磁交流電壓供電。先空載啟動觀察各輸出變化,然后在空載穩定后突加200Nm負載觀察各輸出變化。 3.分別改變Rs,Rr,Jm值,觀察輸出數據變化。
上傳時間: 2018-04-02
上傳用戶:Jcong233
該參考設計展示了如何創建適用于隔離式 RS-485、CAN 或類似應用的 3.3V 或 5V 隔離式電源。電路板上有五個獨立電源,分別具有或不具有穩壓輸出,可適用于不同輸入和輸出電壓的各種情況。
上傳時間: 2018-11-19
上傳用戶:gqy001
DESCRIPTION The Texas Instruments MSP430 family of ultra-low-power microcontrollers consists of several devices featuring different sets of peripherals targeted for various applications. The architecture, combined with five low-power modes, is optimized to achieve extended battery life in portable measurement applications. The device features a powerful 16-bit RISC CPU, 16-bit registers, and constant generators that contribute to maximum code efficiency. The digitally controlled oscillator (DCO) allows wake-up from low-power modes to active mode in less than 1 μs. The MSP430G2x13 and MSP430G2x53 series are ultra-low-power mixed signal microcontrollers with built-in 16- bit timers, up to 24 I/O capacitive-touch enabled pins, a versatile analog comparator, and built-in communication capability using the universal serial communication interface. In addition the MSP430G2x53 family members have a 10-bit analog-to-digital (A/D) converter. For configuration details see Table 1. Typical applications include low-cost sensor systems that capture analog signals, convert them to digital values, and then process the data for display or for transmission to a host system.
上傳時間: 2018-12-25
上傳用戶:ygyh