-
发送TEXT短信模块
发送短信模块源代码!PCON &= 0x7F; //波特率不倍速
SCON = 0x50; //8位数据,可变波特率
AUXR &= 0xBF; //定时器1时钟为Fosc/12,即12T
AUXR &= 0xFE; //串口1选择定时器1为波特率发生器
TMOD &= 0x0F; //清除定时器1模式位
TMOD |= 0x20; //设定定时器1为8位自动重装方式
TL1 = 0xFD; //设定定时初值
TH1 = 0xFD; //设定定时器重装值
ET1 = 0; //禁止定时器1中断
TR1 = 1; //启动定时器1
ES=1; //开串口中断
- 2023-06-13 13:05:04下载
- 积分:1
-
car park management system, more complex, for your study reference!
停车场管理系统,比较复杂,供大家学习参考!-car park management system, more complex, for your study reference!
- 2022-03-09 17:37:13下载
- 积分:1
-
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,1...
假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,100,101,110,111。那么符号序列S0S1S7S0S1S6S2S2S3S4S5S0S0S1编码后变成 000001111000001110010010011100101000000001,共用了42bit。我们发现S0,S1,S2这3个符号出现的频率比较大,其它符号出现的频率比较小,我们采用这样的编码方案:S0到S7的码辽分别01,11,101,0000,0001,0010,0011, 100,那么上述符号序列变成011110001110011101101000000010010010111,共用了39bit。尽管有些码字如 S3,S4,S5,S6变长了(由3位变成4位),但使用频繁的几个码字如S0,S1变短了,所以实现了压缩。对于上述的编码可能导致解码出现非单值性:比如说,如果S0的码字为01,S2的码字为011,那么当序列中出现011时,你不知道是S0的码字后面跟了个1,还是完整的一个S2的码字。因此,编码必须保证较短的编码决不能是较长编码的前缀。符合这种要求的编码称之为前缀编码。要构造符合这样的二进制编码体系,可以通过二叉树来实现。-Suppose a file appears in eight kinds of symbols S0, SQ, S2, S3, S4, S5, S6, S7, then each symbol to be encoded, at least 3bit. Suppose encoding 000,001, 010,011,100,101,110,111. Then the symbolic sequence S0S1S7S0S1S6S2S2S3S4S5S0S0S1 encoded into 000001111000001110010010011100101000000001, sharing a 42bit. We found that S0, S1, S2 these three symbols the frequency of relatively large, the other symbols the frequency is relatively smal
- 2022-04-27 21:17:34下载
- 积分:1
-
数据结构的C++PDF文档
数据结构的C++PDF文档-data structures of C PDF files
- 2022-07-10 23:31:55下载
- 积分:1
-
随机输入n跳直线 利用增量算法 在一个方块区域内实现他的dcel图 利用opengl把效果图展示出来...
随机输入n跳直线 利用增量算法 在一个方块区域内实现他的dcel图 利用opengl把效果图展示出来 -Stochastic input n-hop linear incremental algorithm in a box to use within the region to realize his plan to use opengl to dcel effect diagram displayed
- 2023-03-20 22:55:03下载
- 积分:1
-
VFP a simple example, the training of personnel, functions simple
VFP 一个简单的例子,关于人员培训,功能简单-VFP a simple example, the training of personnel, functions simple
- 2023-07-16 20:00:03下载
- 积分:1
-
VB的数据库访问与例程解析。在测试源程序时,一定要把所有文件放在同一个目录下面...
VB的数据库访问与例程解析。在测试源程序时,一定要把所有文件放在同一个目录下面-VB database access and analysis routines. In testing at the source, all the documents must be placed with a directory
- 2022-03-14 19:16:30下载
- 积分:1
-
这些都是金典的c语言的例子,是语言学习者的必备
这些都是金典的c语言的例子,是语言学习者的必备-These are the c language examples of the sort of language learners
- 2022-01-25 17:53:34下载
- 积分:1
-
数据结构算法,china
数据结构算法,china-pub的电子书,基于C-Data Structure Algorithm, china-pub of the e-book, based on the C++
- 2022-05-21 10:38:03下载
- 积分:1
-
This is a java implementation of the personnel management system, examples of pe...
这是用java实现的一个人员管理系统的例子,可以实现人员管理-This is a java implementation of the personnel management system, examples of personnel management can be achieved
- 2022-01-31 18:02:47下载
- 积分:1