05 2014 档案
摘要:/*****************************************************************************Copyright: 2014,TkaiFile name: main.cDescription:28335外部中断测试Author: Vers...
阅读全文
摘要:lib/libQtGui.so: undefined reference to `ts_read_raw'/lib/libQtGui.so: undefined reference to `ts_open'/lib/libQtGui.so: undefined reference to `ts_fd...
阅读全文
摘要:KERNELDIR =/home/wenhao/platform/linux-2.6.34PWD := $(shell pwd)CROSS_COMPILE = /usr/local/arm/4.3.2/bin/arm-linux-CC = $(CROSS_COMPILE)gccobj-m := ke...
阅读全文
摘要:/*************************************************Function: hexStringtoByteArray()Description: 十六进制字串转化为十六进制编码Calls: formatString()Called By:Input: he...
阅读全文
摘要:#include "stdio.h"void set(int *ch,int a,int *c,int *d){ c[0]=12; c[1]=133; c[2]=14; ch[0]=ch[0]+1; ch[2]=ch[2]+1; ch[1]=ch[1]+1;*d=10;}void main(){ ...
阅读全文
摘要:/*************************************************Function: formatString()Description: 将十六进制字串每字节中间加空格分隔Calls:Called By:hexStringtoByteArray()Input: o...
阅读全文
摘要:typedef unsigned char UCHAR;typedef unsigned char BOOL;/* 计算cnt字节数据的crc,最后一个字节的低7比特必须是0,实际上求的是(cnt×8-1)比特数据的crc */UCHAR CRC7_Cal(UCHAR *pSrc, UINT32 c...
阅读全文
摘要:使用头文件#include #include "QTimer"#include "QTime"#include "QMessageBox"#include #include #include #include #include "stdio.h"#include "stdlib.h"#include...
阅读全文
摘要:QString str = QString("%1").arg(outChar&0xFF,2,16,QLatin1Char('0'));int a=0001;QString str = QString("%1").arg(a,4,10,QLatin1Char('0'));
阅读全文
浙公网安备 33010602011771号