虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

define

define,宏定义,C语言中预处理命令一种。分为无参宏定义和带参宏定义。无参宏定义的一般形式为:#define宏名字符串;带参宏定义的一般形式为:#define宏名(参数表)字符串;
  • #include <reg51.h> /*-------------------------------------------- 调用方式:自行I/O 口定义﹫2001/05/12

    #include <reg51.h> /*-------------------------------------------- 调用方式:自行I/O 口定义﹫2001/05/12 函数说明:私有函数,各接口定义 --------------------------------------------*/ sbit HD7279_CS=P1^4 // HD7279_CS--P1.4 sbit HD7279_CLK=P1^5 // HD7279_CLK-- P1.5 sbit HD7279_DATA=P1^6 // HD7279_DATA-- P1.2 sbit HD7279_KEY =P1^7 // HD7279_KEY-- P1.3 /*-------------------------------------------- 调用方式: HD7279A 各指令定义﹫2001/05/12 函数说明:私有函数,接口定义 --------------------------------------------* /#define HD7279_RESET 0xa4 //复位 #define HD7279_TEST 0xbf //测试 #define HD7279_RLC 0xa3 //循环左移 #define HD7279_RRC 0xa2 //循环右移 #define HD7279_RL 0xa1 //左移 #define HD7279_RR 0xa0 //右移 #define HD7279_DECODE0 0x80 //译码方式0 #define HD7279_DECODE1 0xc8 //译码方式1

    标签: include 2001 reg 51

    上传时间: 2013-12-31

    上传用户:三人用菜

  • 三星lcd驱动

    三星lcd驱动,S6B0741,128X129FENBLV#ifndef _LCD_H_ #define _LCD_H_ #include "settings.h" #include "Battery.h" #include "EnDecode.h" #include "main.h"

    标签: lcd 三星 驱动

    上传时间: 2013-12-19

    上传用户:tianyi223

  • CForms, by Lars Berntzon (Stockholm, Sweden), is a tool for building interactive forms-driven applic

    CForms, by Lars Berntzon (Stockholm, Sweden), is a tool for building interactive forms-driven applications. CForms applications can run on nany type of library supported by the "curses" library. CForms uses a language-based design to define forms. An application may contain C source modules, field pictures, field definitions, literals, and events. CForms applications must be compiled with the CFC compiler and linked with the CFL linker.CForms runs on most Unix SYSV compatible platforms including SunOS, Dell-SVR4, and Diab SYSV.3. It requires a curses library and yacc or GNU Bison. CForms version 2.1 is now available as volume #402 in the CUG Library.

    标签: forms-driven interactive Stockholm Berntzon

    上传时间: 2013-12-20

    上传用户:himbly

  • bp神经网络

    bp神经网络,N 11 //学习样本个数 #define IN 5 //输入层神经元数目 #define HN 8 //隐层神经元数目 #define HC 3 //隐层层数 #define ON 3 //输出层神经元数目

    标签: 神经网络

    上传时间: 2013-11-26

    上传用户:rocketrevenge

  • #include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h&

    #include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h> #include<io.h> #include<math.h> #include<process.h> #include<conio.h> #define m 100 #define OK 1 typedef int Status typedef char TElemType /*树元素的类型*/ int t=35 int n=20 int h=14 int u=2 int leaf=0,non_l_leaf=0,non_r_leaf=0,root=0 /*各种结点数*/ char le[m],l[m],r[m],ro[m] /*用与存放各种结点*/ typedef struct BiTNode/*定义二叉树*/

    标签: include lt gt graphics

    上传时间: 2013-12-15

    上传用户:liansi

  • C语言的名里使用方法

    C语言的名里使用方法,包括输入输出函数,scanf,printf,define,还有ASCII码表

    标签: C语言

    上传时间: 2014-01-04

    上传用户:

  • This guide reviews the rules and syntax of the principle commands that comprise C and its object-ori

    This guide reviews the rules and syntax of the principle commands that comprise C and its object-oriented cousin, C++. The reference consists of 19 chapters that define operators and the standard input/output, string, character, and more.

    标签: object-ori and principle the

    上传时间: 2014-01-15

    上传用户:ve3344

  • #include "REG51.H" #include <intrins.h> #include "Common.h" //#include "Remote.h" #def

    #include "REG51.H" #include <intrins.h> #include "Common.h" //#include "Remote.h" #define OSD_EN //typedef unsigned char uCHAR //#include "T100Data_A.h" //#include "T100Data_PA.h" //#include "T100Data_AU.h" //#include "T100Data_CPT.h" //#include "T100Data_PANASONIC.h" //#include "T100Data_PVI7.h" //#include "T100Data_LG.h" //#include "T100Data_FOX.h" #include "T100Data_PVI8.h" #ifdef OSD_EN #include "OSDFont1218_new.h" #include "OSD1218_new.h"

    标签: include intrins Common Remote

    上传时间: 2016-07-21

    上传用户:x4587

  • 19.死机问题 extern BYTE idata MP3PwDnCnt 变量类型为idata 20.在MP412UT72基础上修改 更换pindef.h 和servopin.h(影响图象出现)

    19.死机问题 extern BYTE idata MP3PwDnCnt 变量类型为idata 20.在MP412UT72基础上修改 更换pindef.h 和servopin.h(影响图象出现) 21.#define ENABLE_TRAY_PWM 0///1停顿 22.使用pdvd30 伺服 750710_JK.lib 23.使用了58版 MP420 的伺服库和处理办法,可以搜索 MP420 58 字样

    标签: idata MP3PwDnCnt servopin extern

    上传时间: 2016-08-08

    上传用户:2467478207

  • #include <stc12c2052AD.H>// 标准库的头文件 #include <intrins.h> #include <absacc.h> #d

    #include <stc12c2052AD.H>// 标准库的头文件 #include <intrins.h> #include <absacc.h> #define uchar unsigned char #define uint unsigned int

    标签: include gt lt intrins

    上传时间: 2016-08-29

    上传用户:rocwangdp