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

实验:RS485通信程序

于 2022-02-04 发布 文件大小:26.95 kB
0 125
下载积分: 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 个回复

  • 投影仪标定opencv
    投影仪标定,摄像机标定,输出三维数据等相关代码,完整的不需要更改 投影仪标定,摄像机标定,输出三维数据等相关代码,完整的不需要更改
    2022-01-25 22:55:44下载
    积分:1
  • qt开发的GPRS短信程序
    QT编写的发短信程序,可向任意号码发送短信
    2022-06-19 05:22:25下载
    积分:1
  • AD9850-1_V3_C程序
    ad9850的单片机程序,适用于51系列,有用的可下载参考(ad9850 microcontroller program, suitable for 51 series, useful can be downloaded for reference)
    2020-06-18 06:40:01下载
    积分:1
  • msnd_0614
    电力管理系统,电网抄表,电费计算,SQL+VC实现(power management system, network meter reading, electricity, SQL VC)
    2005-07-13 09:58:37下载
    积分:1
  • cbNotepad
    这个示例演示了如何将一个DLL到一个远程过程CreateRemoteThread使用。具体地说,这个应用程序工具栏添加一个Windows记事本应用程序。这个程序适用于Windows NT、2000和XP。(This sample demonstrates how to inject a DLL into a remote process using CreateRemoteThread. Specifically, this application adds a toolbar to the Windows Notepad application. This program will work on Windows NT, 2000 and XP.)
    2013-05-08 12:52:32下载
    积分:1
  • wei
    说明:  简单计算器.热爱C++,但还是学生,故来此向大家学习。谢谢。(simple calculator)
    2011-03-16 18:26:15下载
    积分:1
  • RSA(NTL)
    用VC6.0实现的,运用NTL大整数库实现RSA的加密和解密算法,具有较高的效率!(VC6.0 achieved by applying NTL large integer achieve RSA encryption and decryption algorithms, with high efficiency!)
    2014-04-29 13:34:16下载
    积分:1
  • nw_elf
    说明:  娱乐玩耍的一个锁屏和桌面,自己下载后就可以哦弄简单只要会点就可以弄好(A lock screen and desktop for entertainment and play. After downloading it, you can make it easy. You can make it easy as long as you know how to click on it.)
    2019-07-10 09:14:12下载
    积分:1
  • Luhn
    Explains Credit Card Validator Code in C#.NET
    2010-11-19 04:23:38下载
    积分:1
  • lelss-linuuxi
    用linuX 下的C语言 运用CURSES开发的俄罗斯方方块游戏源码,非常好,这个是本人原创,值的参考 可直接使用。 (The C language under Linux using CURSES development of the Russian puzzle game source code, very good, this is my original, the value of the reference can be directly used.)
    2012-07-17 22:31:34下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载