-
serial_program_for_51
很完整的51串口程序
包括如下:
串口中断服务程序,仅需做简单调用即可完成串口输入输出的处理
出入均设有缓冲区,大小可任意设置。
可供使用的函数名:
char getbyte(void) 从接收缓冲区取一个byte,如不想等待则在调用前检测inbufsign是否为1。
getline(char idata *line, unsigned char n) 获取一行数据回车结束,必须定义最大输入字符数
putbyte(char c) 放入一个字节到发送缓冲区
putbytes(unsigned char *outplace,j) 放一串数据到发送缓冲区,自定义长度
putstring(unsigned char code *puts) 发送一个定义在程序存储区的字符串到串口
puthex(unsigned char c) 发送一个字节的hex码,分成两个字节发。
putchar(uchar c,uchar j) 输出一个无符号字符数的十进制表示,必须标示小数点的位置,自动删除前面无用的零
putint(uint ui,uchar j) 输出一个无符号整型数的十进制表示,必须标示小数点的位置,自动删除前面无用的零
delay(unsigned char d) 延时n x 100ns
putinbuf(uchar c) 人工输入一个字符到输入缓冲区
CR 发送一个回车换行(err)
- 2008-05-07 10:28:31下载
- 积分:1
-
MATLAB-sumlink-windpower
随着可持续发展理念的深入,风力发电作为可再生能源得到了快速的发
展。风力发电系统的仿真在风力发电系统分析,发电量分析和电网的能量的
分析中都起到了非常重要的作用。
本文应用 MATLAB 软件,对风速、风轮、传动机构、发电机、与风力发
电相关的电力电子系统建立了数学模型,并进行仿真进方面的研究,得到了
可供分析的仿真结果。介绍了风力发电机组的控制技术,主要是变桨距控制
和发电机变速控制,并利用 MATLAB 软件对变桨距控制系统和低于额定风速
和高于额定风速时的变速风力发电系统进行了仿真。对双馈发电机的解耦控
制进行了仿真。并列举了典型的风力发电系统仿真实例。
(With the wild spread of concept of continuable development
,
wind power
generation, as a renewable resource, is getting fast development. The simulation of
wind power system play a important role in yield of analysis of wind power
generation system, the quantity of wind power generation , power generation system.
This paper establish wind model, the wind turbine rotor model, drive trains
model, induction machine model
,
the electric power electron parts of wind power
generation model, Then using soft of MATLAB, we realize the simulation. It
introduces the control technology of wind turbine, mainly including variable blade
pitch and variable speed control of wind turbine. Using Matlab simulate these. And
lists an example of practical applying.)
- 2014-05-21 18:51:00下载
- 积分:1
-
book
软件无线电电子版课件,详细地课程内容说明。(Software radio electronic courseware, the course content in detail.)
- 2014-06-21 17:07:30下载
- 积分:1
-
EM78P915-SIM-transplant
SIM卡电话本读写方案,了解SIM文件系统和外部接口的实战方案,采用EMC915芯片实现。(SIM card phone book reader program, to understand SIM file system and the external interface of practical solutions, using EMC915 chip.)
- 2013-10-07 11:49:13下载
- 积分:1
-
Credit
一个模拟借贷系统,可以模拟借贷情况,有助于理解c语言.
(An analog lending system that can simulate financing conditions, help to understand the c language.)
- 2015-06-27 22:22:26下载
- 积分:1
-
51andNANDFlash
51单片机控制NAND Flash读写程序,编译环境vc++,可根据flash不同做稍加修改,即可实现功能要求(51 single-chip NAND Flash read and write procedures, compile environmental vc++, according to flash a little modified)
- 2012-04-25 11:00:41下载
- 积分:1
-
HS
说明: 利用C51单片机和TLC5615生成正弦波(Use of a the C51 microcontroller and TLC5615 generate sine wave)
- 2012-12-10 13:58:26下载
- 积分:1
-
1实时时钟
用stm32f103对ds1302时钟芯片进行读写,从而获得起内部的时钟数据(Read and write the DS1302 clock chip with STM32F103 to get the internal clock data)
- 2018-03-24 14:59:31下载
- 积分:1
-
swnews
赛维网络硬件资讯新闻系统
前台用户:test test
后台管理:admin admin(LDK News Network Hardware Information System
Reception User: test test
Admin: admin admin)
- 2016-03-05 22:15:32下载
- 积分:1
-
zip
The zip fioelsdfsd xcgdg
- 2010-12-12 21:11:54下载
- 积分:1