-
功能:
1、作为主机通讯采集两路下位机数据并将此数据通过8255送出(十路水位值)
并计算水头送STC板
2、采集数据为BCD码制,先转换成二进制...
功能:
1、作为主机通讯采集两路下位机数据并将此数据通过8255送出(十路水位值)
并计算水头送STC板
2、采集数据为BCD码制,先转换成二进制,处理后再转换成BCD
3、通讯采用方式3,多机通讯,上位机发地址时TB8=1,其他TB8=0
下位机SM2=1,RB8=1时产生中断后使SM2=0收发数据,结束后SM2=1
在此系统中本机硬件地址要设为0-Features: 1, as the host of two-way communication acquisition of data-bit machine and send this data through 8255 (the road level 10 value) and calculate the head sent to STC board 2, for BCD code data collection system, the first converted into binary, and then deal with the conversion into BCD 3, communication using methods 3, multi-machine communications, address PC made TB8 = 1, other TB8 = 0 under the digital machine SM2 = 1, RB8 = 1 when the failure to make SM2 = 0 to send and receive data, after the end of SM2 = 1 in this system to the local hardware address set to 0
- 2023-07-17 03:30:03下载
- 积分:1
-
对显示器LCD的读写和I2C的控制程序,供大家享用
对显示器LCD的读写和I2C的控制程序,供大家享用-Reading and writing on the LCD display and I2C control procedures for everyone to enjoy
- 2022-08-09 11:24:42下载
- 积分:1
-
该源代码为单片机的加油机课程设计源代码,需要课程设计报告的,再找我。...
该源代码为单片机的加油机课程设计源代码,需要课程设计报告的,再找我。-The source code for the MCU tanker curriculum design source code, the need for curriculum design report, I find.
- 2023-02-20 03:15:03下载
- 积分:1
-
本人上个月做的一个通过短信来控制八路继电器的源程序,有需要的朋友可以参考。...
本人上个月做的一个通过短信来控制八路继电器的源程序,有需要的朋友可以参考。-Last month I make an eight-way through the message relay to control the source code, there is a need of a friend can refer to.
- 2022-04-20 09:27:56下载
- 积分:1
-
利用stc12c2052单片机测量空气质量的
利用stc12c2052单片机测量空气质量的-use stc12c2052 SCM measurements of air quality
- 2022-06-20 09:46:41下载
- 积分:1
-
ATmega16 加L298 控制电机
ATmega16 加L298 控制电机-ATmega16 plus L298 motor control
- 2022-01-26 02:36:59下载
- 积分:1
-
用单片机实现的单片机语言测试的C++语言
单片机C语言实现的对ROM进行测试的C语言的源代码。可供单片机开发人员参考。-SCM C language of the ROM to test the C-language source code. SCM developed for reference.
- 2023-04-27 07:00:04下载
- 积分:1
-
AVR单片机解码普通PC键盘码值,解码后通过串口发送到电脑上显示...
AVR单片机解码普通PC键盘码值,解码后通过串口发送到电脑上显示-tiao shi tong guo
- 2023-03-17 01:40:04下载
- 积分:1
-
ST736单片机,驱动液晶芯片HT1623
ST736单片机,驱动液晶芯片HT1623-ST736 MCU, LCD driver chip HT1623
- 2022-04-24 09:34:18下载
- 积分:1
-
单片机测试开发程式,IIC与单片机通信,测试芯片,往芯片寄存器写程式...
单片机测试开发程式,IIC与单片机通信,测试芯片,往芯片寄存器写程式-Single-chip test development program, IIC and single-chip communications, test chip, to chip registers to write programs
- 2022-08-05 10:30:11下载
- 积分:1