
c
文章平均质量分 70
研二的青年
最近再学习linux 嵌入式 还有网络TCP方面
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据结构 栈和队列的一些应用
#include #include typedef struct DNode { int data; struct DNode *prior,*next; }DLNode,*Doublelist; typedef struct Polynode { int coef; int exp; Polynode *next; }Polynode, * Polylist; ty原创 2014-12-30 22:16:59 · 527 阅读 · 0 评论 -
crc16 校验代码C语言实现 和原理分析
typedef unsigned char uchar; typedef unsigned int uint; typedef unsigned short uInt16; uint crc; // CRC 码 uint crc16l(uchar *ptr,uchar len) // ptr原创 2014-12-11 12:32:51 · 7932 阅读 · 0 评论 -
智能家居服务器和zigbee方面遇到的问题
boa服务器既要控制zigbee协调器又要接受zigbee终端发送的传感器信息。所以在html里设置一个参数,来控制协调器。如果是‘a’的话就控制点灯,如果是‘b’的话就接受协调器信息。首先要修改cgi程序,使得cgi里的串口程序能发送‘a’或者‘b’,而且在发送‘b’的时候,需要能接受从TTL串口发送来的信息。需要改写程序如下 if(no=='a'){ // static int原创 2015-04-16 21:14:52 · 1672 阅读 · 0 评论