上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 这里详细介绍了CAN协议中数据通信帧每位的含义,有图片,值得一看:https://www.cnblogs.com/pejoicen/p/3986587.html 这里介绍了CanOpen协议,https://blog.csdn.net/plc_jianghao/article/details/778 阅读全文
posted @ 2018-06-25 15:27 kanite 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: 在gitee上找到的一个很好用的ini文件解析器,纯C++代码,移植方便。 项目地址:https://gitee.com/sollyu/IniParser 稍微修改了下,去掉了Windows平台相关定义,改了下类名称。 头文件: 1 #ifndef INIPARSER_H 2 #define INI 阅读全文
posted @ 2018-06-14 13:40 kanite 阅读(628) 评论(0) 推荐(0) 编辑
摘要: C++的xml解析器有很多,这个知乎回答里有一个列表:https://www.zhihu.com/question/32046606 下面使用其中的RapidXml试试。 官方地址: https://link.zhihu.com/?target=http%3A//rapidxml.sourcefor 阅读全文
posted @ 2018-06-14 11:58 kanite 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 做了一个简单的项目,电路板使用电池供电,需要系统在待机时低功耗。而对外接口只有4个按键,也就是唤醒必须要通过这四个按键。 系统功能就不介绍了,只给出进入低功耗的代码和退出低功耗的代码。 使用芯片为stm8s103 1 /**************************************** 阅读全文
posted @ 2018-06-06 08:26 kanite 阅读(3253) 评论(0) 推荐(0) 编辑
摘要: C++11中的条件变量提供了用户等待的同步机制,在同步队列的应用中有很大的便利。 简单同步队列代码如下(SimpleSyncQueue.h): 1 #ifndef SIMPLESYNCQUEUE_H 2 #define SIMPLESYNCQUEUE_H 3 4 #include <thread> 阅读全文
posted @ 2018-06-05 17:30 kanite 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://blog.chinaunix.net/uid-14607221-id-2794642.html 1、 PreCreateWindow: Called by the framework before the creation of the Windows window atta 阅读全文
posted @ 2018-04-28 09:18 kanite 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/libaineu2004/article/details/40395917 摘要部分重点: 1、CAsyncSocket类逐个封装了WinSock API,为高级网络程序员提供了更加有力而灵活的方法。 2、CSocket类从CAysncSocke 阅读全文
posted @ 2018-04-26 16:59 kanite 阅读(559) 评论(0) 推荐(0) 编辑
摘要: pdf 10 pdf 11 ` 左右声道 负载,注意这里的负载指LEFT 到GBUF,RIGHT到GBUF。所以后面会有说明GBUF一定不能连接到GND。 pdf 14 pdf 14 从上面的引脚定义图大致能看出使用方法, SPI总线(SCLK SDO SDI) 芯片选择--> XCS 芯片数据选择 阅读全文
posted @ 2018-04-15 10:42 kanite 阅读(1029) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/knqiufan/article/details/77847143 阅读全文
posted @ 2018-03-29 08:40 kanite 阅读(10087) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/litianze99/article/details/52452521 阅读全文
posted @ 2018-03-27 08:14 kanite 阅读(16551) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页