标题: stc12单片机程序移植stc15w408s,串口通信用不了怎么回事? [打印本页]

作者: w14    时间: 2018-3-10 10:01
标题: stc12单片机程序移植stc15w408s,串口通信用不了怎么回事?
stc12单片机程序移植stc15w408s,串口通信没反应怎么回事?

作者: YJGG    时间: 2018-3-10 10:39
看看寄存器的地址定义
作者: 13976778401    时间: 2018-3-10 17:09
串口设置不对
作者: hejianhuan    时间: 2018-3-10 21:49
波特率?
作者: wulin    时间: 2018-3-11 08:26

stc12与stc15w408s的串口波特率设置有区别,stc12的串口2有独立波特率发生器,stc15w的串口2是定时器2(16位自动重载)用作波特率发生器。




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1