51怎么样接收串口数据做出判断?
+IPD,51:f=a&d=1287369807&n=whxwhx&com=open&from=server->sb
+IPD,52:f=a&d=1287369807&n=whxwhx&com=close&from=server->sb
+IPD,48:f=a&d=1287369807&n=whxwhx&com=W&from=server->sb
+IPD,48:f=a&d=1287369807&n=whxwhx&com=S&from=server->sb
我想用单片机串口接收这几个数据然后做出判断,可是一直不成功,谁能帮我看看怎么样写程序才能才能接收设个程序做出判断,红色是我要判断得数据,谢谢了。
我做过这类项目。请读懂我程序框架连载帖子第38到45节的串口内容。http://www.dumenmen.com/forum.php?mod=viewthread&tid=8&extra=page%3D1
页:
[1]