登录
首页 » c » 实验:RS485通信程序

实验:RS485通信程序

于 2022-02-04 发布 文件大小:26.95 kB
0 118
下载积分: 2 下载次数: 1

代码说明:

/************************************************************************************** *               RS485通信实验   * 实现现象:下载程序后打开串口调试助手,将波特率设置为4800,选择发送的数据就可以显示 在串口助手上。具体接线操作参考操作视频 注意事项:无。    ***************************************************************************************/ #include "reg52.h" //此文件中定义了单片机的一些特殊功能寄存器 typedef unsigned int u16;   //对数据类型进行声明定义 typedef unsigned char u8; sbit RS485DIR=P1^0;   //RS485DIR=0为接收状态  RS485DIR=1为发送状态 /******************************************************************************* * 函 数 名         : delay * 函数功能    : 延时函数,i=1时,大约延时10us **************************************

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • QliuuguifeenA
    QAM16调制的实现 matlab源程序源源码 星座图的输出与结果都正确 可直接使用。 (Matlab source source source constellation of QAM16 modulation output results are correct can be used directly.)
    2012-07-25 23:06:40下载
    积分:1
  • Moodle
    教学平台源码,支持上传,下载,分享,希望大家喜欢(Teaching platform source code, support upload, download, share)
    2015-12-29 16:38:18下载
    积分:1
  • 低通滤波器
    低通滤波器,对数据进行平滑,也叫做最小二乘法,Savitzky-Golay算法-a particular type of low-pass filter, well-adapted for data smoothing, and termed variously Savitzky-Golay, least-squares, or DISPO (Digital Smoothing Polynomial) filters. Rather than having their properties defined in the Fourier domain and then translated to the time domain, Savitzky-Golay filters derive directly from a particular formulation of the data smoothing problem in the time domain
    2022-03-15 09:11:07下载
    积分:1
  • C #创建登录窗体
    应用背景这是一个演示如何创建在C #登录屏幕。NET编程语言。它是一个简单的程序,演示了只演示工作流程,没有数据库。请创建您自己的数据库。关键技术窗口编程窗口形式桌面应用C #网CSharp计算机安全网络安全
    2022-07-27 06:24:06下载
    积分:1
  • headfiles
    实际中使用的各种C++头文件汇总说明,对编程者很有用,较详细(C++ head files for us to programe,it is very useful)
    2009-03-09 13:57:14下载
    积分:1
  • SPGame
    SP短消息平台,非常GOOD的(SP short messaging platform, the very GOOD)
    2005-03-01 11:46:22下载
    积分:1
  • ghost3.75远控
    说明:  此远控已经编译好,包免杀,要的自行下载,谢谢(This remote control has been compiled, and the package is free of killing.)
    2020-01-18 13:23:26下载
    积分:1
  • BPre
    说明:  BP 图像识别算法,基于pca的方法,外国人写的(BP image recognition algorithm, pca-based approach, written by foreigners)
    2009-07-31 14:02:54下载
    积分:1
  • 非常漂亮的Winform皮肤控件(好看的渐变登录)
    非常漂亮的Winform皮肤控件(好看的渐变登录)
    2015-03-04下载
    积分:1
  • c++ 魂斗罗
    这是用C/c++写的魂斗罗,99条命可通关
    2022-02-04 15:01:23下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载