文件名称:chuankoubiancheng
介绍说明--下载内容来自于网络,使用问题请自行百度
串口编程--接收PC发过来的字符串,回发字符串.发送期间中断控制LED灯闪烁
采用外部晶振22.1184MHz 使用定时器1,方式2产生波特率,SMOD = 0或者1
定时器初值X=256-SYSCLK*(SMOD+1)(BAUDRATE*384)
-Serial Programming -- receiving PC sent the string, the string back. During this interruption control LED lights external crystal 22.1184MHz use of a timer, two methods have baud rate, SMOD = 0 or a timer initial X = 256-SYSCLK * (SMOD a) (baudrate * 384)
采用外部晶振22.1184MHz 使用定时器1,方式2产生波特率,SMOD = 0或者1
定时器初值X=256-SYSCLK*(SMOD+1)(BAUDRATE*384)
-Serial Programming -- receiving PC sent the string, the string back. During this interruption control LED lights external crystal 22.1184MHz use of a timer, two methods have baud rate, SMOD = 0 or a timer initial X = 256-SYSCLK * (SMOD a) (baudrate * 384)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
串口编程.txt
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.