易截截图软件、单文件、免安装、纯绿色、仅160KB

红外接收(nec)稳定程序 c文件

 /* =========================================================================== */
/* Project:        s3c44b0_lib                           */
/* File:           irda.c                                                  */
/* Organization:   cug-1200525                             */
/* Author:         yuyongbao                                  */
/* Date:           5/11/2007                              */
/* Describe:       lib                               */
/* =========================================================================== */
#include "..\mcu_lib\lib_config.h"
#include "irda.h"   
unsigned char bitcnt;
unsigned char Irdata[4];
unsigned char IrBegin,IrOK;
void Irda_Init(void)
{
 bitcnt=0;
 IrOK=FALSE;
 IrBegin=FALSE;
   rTCON   &= 0xf0ffffff;   // clear manu


相关文档:

C枚举类型的使用方法

1.  枚举的定义枚举类型定义的一般形式为:
    enum 枚举名{ 枚举值表 };
在枚举值表中应罗列出所有可用值。这些值也称为枚举元素。
例如:
   
该枚举名为weekday,枚举值共有7个,即一周中的七天。凡被说明为weekday类型变量的取值只能是七天中的某一天。
2.  枚举变量� ......

获取IP的C 代码

获取IP的C 代码 #include<stdio.h> #include<winsock2.h> #pragma comment(lib,"ws2_32.lib") void CheckIP(void) //定义CheckIP()函数,用于获取本机IP地址 { WSADATA wsaData; char name[255]; //定义用 ...
获取IP的C 代码
#include<stdio.h>
#include<winsock2.h>
#pragma comment(li ......

C/C++ 笔试、面试题目大汇总

1.求下面函数的返回值(微软)
int func(x)
{
    int countx = 0;
    while(x)
    {
          countx ++;
          x = x&(x-1);
   &n ......

C/C++ assert() 函数用法

assert
函数名: assert
功  能: 测试一个条件并可能使程序终止
用  法: void assert(int test);
程序例:
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
struct ITEM {
   int&n ......

S3C44B0 uart程序库 c文件

 /* =========================================================================== */
/* Project:        s3c44b0_lib                         & ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号