文件名称:51uart
介绍说明--下载内容来自于网络,使用问题请自行百度
51单片机实现串口接受和发送,Proteus仿真
在“2.1 键盘和LED 数码管显示设计”基础上,增加如下内容:
1、SCI 串行口、TTL-232 电平转换部分电路原理图;
2、相应程序流程图;
3、编程调试,在2.1 基础上,实现串口接收、发送功能,具体如下:
(1)按下某键,通过串口送出按下键的键号(重复4 字节)并在虚拟终端上显示;
(2)在虚拟终端上输入4 位要显示的数值,串行口接收后,在数码管上显示,数
值输入数据格式为‘s’、‘0~9’、‘0~9’、‘0~9’、‘0~9’、‘e’。-In the 2.1 LED keyboard and digital tube display design on the basis of , add the following content:
Part of the circuit diagram 1, SCI serial port, TTL-232 level conversion
2, the corresponding program flow chart
3, programming and debugging, based on the 2.1, realize the serial port to receive, send function, as follows:
(1) press of a key, through the serial port to send key press number keys (repeat 4 bytes) and displayed on a virtual terminal
(2) 4 bits of input to the displayed value on a virtual terminal, serial port after receiving, in the digital tube display, number
Value of the input data format is s , 0~9 , 0~9 , 0~9 , 0~9 , e .
在“2.1 键盘和LED 数码管显示设计”基础上,增加如下内容:
1、SCI 串行口、TTL-232 电平转换部分电路原理图;
2、相应程序流程图;
3、编程调试,在2.1 基础上,实现串口接收、发送功能,具体如下:
(1)按下某键,通过串口送出按下键的键号(重复4 字节)并在虚拟终端上显示;
(2)在虚拟终端上输入4 位要显示的数值,串行口接收后,在数码管上显示,数
值输入数据格式为‘s’、‘0~9’、‘0~9’、‘0~9’、‘0~9’、‘e’。-In the 2.1 LED keyboard and digital tube display design on the basis of , add the following content:
Part of the circuit diagram 1, SCI serial port, TTL-232 level conversion
2, the corresponding program flow chart
3, programming and debugging, based on the 2.1, realize the serial port to receive, send function, as follows:
(1) press of a key, through the serial port to send key press number keys (repeat 4 bytes) and displayed on a virtual terminal
(2) 4 bits of input to the displayed value on a virtual terminal, serial port after receiving, in the digital tube display, number
Value of the input data format is s , 0~9 , 0~9 , 0~9 , 0~9 , e .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2串口/Last Loaded uart.DBK
2串口/Listings/uart.m51
2串口/Objects/uart
2串口/Objects/uart.hex
2串口/uart.c
2串口/uart.DSN
2串口/uart.PWI
2串口/uart.uvgui.MyPC
2串口/uart.uvopt
2串口/uart.uvproj
2串口/Listings
2串口/Objects
2串口
2串口/Listings/uart.m51
2串口/Objects/uart
2串口/Objects/uart.hex
2串口/uart.c
2串口/uart.DSN
2串口/uart.PWI
2串口/uart.uvgui.MyPC
2串口/uart.uvopt
2串口/uart.uvproj
2串口/Listings
2串口/Objects
2串口
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.