![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
串口通信
文章平均质量分 80
njyzf
这个作者很懒,什么都没留下…
展开
-
串口通信示例
//6800FF01FFFF16#include"stdio.h"#include"string.h"#include"stdlib.h"#include"windows.h"#include"time.h"void SetCom(HANDLE hCom);void CtMbPort(HANDLE hCom,unsigned char *sendBuffer,unsigned c原创 2014-04-16 11:43:38 · 1028 阅读 · 0 评论 -
封装
#include"stdio.h"#include"string.h"#include"stdlib.h"#include"windows.h"#include"time.h"#include"math.h"#define BOXNUM 24 //柜子个数struct BoxState{ int connect; int isOpen; int hasGoods;};原创 2014-04-20 17:39:05 · 750 阅读 · 0 评论