文件名称:slave
介绍说明--下载内容来自于网络,使用问题请自行百度
2、从机:在P1口上实现流水灯,串口接收从主机发送过来的异步串行数据,将数据在从机板子上的数码管进行显示,并通过对数据的判断调节流水灯的速度(比如:0是最慢,F是最快,中间字符对应的流水灯速度依次递增,要能明显区分)。异步串行通信的要求:从机使用单片机自带的串口进行数据接收,速度是2400波特率。-2, from the machine: to achieve water in the P1 port lights, sent from the host over the serial port to receive asynchronous serial data, the data on the board from the machine to display the digital control and regulation through the flow of data to determine the speed of light (such as : 0 is the slowest, F is the fastest, the middle character corresponding to the speed of light water gradually increased, to be able to clearly distinguish.) Asynchronous serial communication requirements: from the machine comes with the serial port using the single chip data receiver, speed is 2400 baud.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
slave.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
