文件名称:progtstdyfthfge
介绍说明--下载内容均来自于网络,请自行研究使用
单片机和PC机串口通讯实例说明
首先打开串口调试程序并按要求设置。启动51板后,按S10切换至接收状态,按S12切换至发送状态,启动默认为发送状态。
发送状态:
进入发送状态后,可向PC发送1-9 9个数字,并且数码显示同时显示发送的数,按S1发送1,按S2发送2,依次到按S9发送9。S11无用。发送成功可在串口调试程序的数据接收栏中显示收到的数据。
发送状态:
进入发送状态后,在串口调试程序的数据发送栏中输入00-FF的16进制2位数,点击手动发送,如发送成功,51版将16进制数通过程序转换为10进制数并显示在数码显示块上。如选择自动发送则改变数据发送栏中的数字,数据就自动发送至51板。(注:发送数据时数据必为2位16进制数,不足添0,如00,01,02,33,44,AF。)
-microcontroller and PC serial communications open the first examples of serial debugging procedures as requested. Plate start after 51, according to S10 switch to the receiving state, according S12 switch to this state, the start of this default state. Send state : Entering this state, the PC can be sent to 1 -9 9 figures. and digital display shows the number sent by sending an S1, S2 sent by 2, followed by S9 sent to nine. S11 useless. Send success in the serial debugging procedures column indicates data reception of the data received. Send state : Entering this state, Serial debugging procedures in the importation of data this column 00-FF 229 2 16 median, sending it manually, If this success, 51 to 16-band version passed by conversion to 10 and 229 the number displayed on the digital di
首先打开串口调试程序并按要求设置。启动51板后,按S10切换至接收状态,按S12切换至发送状态,启动默认为发送状态。
发送状态:
进入发送状态后,可向PC发送1-9 9个数字,并且数码显示同时显示发送的数,按S1发送1,按S2发送2,依次到按S9发送9。S11无用。发送成功可在串口调试程序的数据接收栏中显示收到的数据。
发送状态:
进入发送状态后,在串口调试程序的数据发送栏中输入00-FF的16进制2位数,点击手动发送,如发送成功,51版将16进制数通过程序转换为10进制数并显示在数码显示块上。如选择自动发送则改变数据发送栏中的数字,数据就自动发送至51板。(注:发送数据时数据必为2位16进制数,不足添0,如00,01,02,33,44,AF。)
-microcontroller and PC serial communications open the first examples of serial debugging procedures as requested. Plate start after 51, according to S10 switch to the receiving state, according S12 switch to this state, the start of this default state. Send state : Entering this state, the PC can be sent to 1 -9 9 figures. and digital display shows the number sent by sending an S1, S2 sent by 2, followed by S9 sent to nine. S11 useless. Send success in the serial debugging procedures column indicates data reception of the data received. Send state : Entering this state, Serial debugging procedures in the importation of data this column 00-FF 229 2 16 median, sending it manually, If this success, 51 to 16-band version passed by conversion to 10 and 229 the number displayed on the digital di
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 67506253progtstdyfthfge.rar 列表 单片机和PC机串口通讯实例.ASM