-
功能:
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
-
这是一个单一的
这是一个单片机与MFRC522通信的程序,采用C语言编写。-This is a single-chip microcomputer with MFRC522 communications procedures, the use of C language.
- 2022-02-07 22:02:49下载
- 积分:1
-
18b20显示程序,动态显示,调试通过.
18b20显示程序,动态显示,调试通过.-18b20 display program, dynamic display, debugging through.
- 2023-01-08 18:35:04下载
- 积分:1
-
bin转换为hex格式的小软件。用于某些特定的编程器。
bin转换为hex格式的小软件。用于某些特定的编程器。-bin is converted to hex format for the small software. For some specific programmer.
- 2023-01-24 14:30:04下载
- 积分:1
-
编程爱好者,自编C程序跑灯,控制单片机P1口,逐个点亮心中的明灯...
编程爱好者,自编C程序跑灯,控制单片机P1口,逐个点亮心中的明灯-Programming enthusiasts, self-compiled C program running lights, control Singlechip P1 mouth, one by one lit the hearts of the light
- 2023-06-16 18:45:02下载
- 积分:1
-
普通有刷直流电机PWM闭环控制C51完整源程序
普通有刷直流电机PWM闭环控制C51完整源程序-Brush DC Motor has ordinary PWM closed-loop control C51 complete source
- 2023-01-15 22:10:03下载
- 积分:1
-
此为用MSP430单片机写的128*64的液晶驱动和绘图等源程序
此为用MSP430单片机写的128*64的液晶驱动和绘图等源程序-This is written with MSP430 single chip LCD 128* 64 graphics driver and source code, etc.
- 2023-02-19 15:50:03下载
- 积分:1
-
USART在单片机里的通用c程序,保证好用
USART在单片机里的通用c程序,保证好用-USART in SCM
- 2022-02-06 19:08:25下载
- 积分:1
-
51单片机常用子程序大全,包括多字节加减乘除,码字转换,浮点数格式化...
51单片机常用子程序大全,包括多字节加减乘除,码字转换,浮点数格式化-51 microcontroller used subroutine Daquan, including multi-byte arithmetic, code conversion, floating point format, etc.
- 2023-06-05 08:50:03下载
- 积分:1
-
Short Message gsm alarm procedures, and hardware with complete switch input, sho...
gsm短消息报警程序,与硬件配合,完成开关量输入,短消息通知主人,用于防盗报警系统。-Short Message gsm alarm procedures, and hardware with complete switch input, short message to inform the owner for the anti-theft alarm system.
- 2022-04-18 14:41:47下载
- 积分:1