Define
共 234 篇文章
Define 相关的电子技术资料,包括技术文档、应用笔记、电路设计、代码示例等,共 234 篇文章,持续更新中。
51单片机读写u盘(含源程序和原理图)
<P>附件有51单片机加上sl811读写U盘的源程序和原理图</P>
<P>/*--------------------------------------------------------------------------<BR>AT89X52.H</P>
<P>Header file for the low voltage Flash Atmel AT89C52 and AT89LV52.
C语言的名里使用方法
C语言的名里使用方法,包括输入输出函数,scanf,printf,define,还有ASCII码表
#include "stdio.h" #include "math.h" #include "malloc.h" #include "string.h" #define m 6 #defin
#include "stdio.h"
#include "math.h"
#include "malloc.h"
#include "string.h"
#define m 6
#define n 29
#define p 0.5
JavaServer Pages™ Specification This document is intended for: · Web Server and Application S
JavaServer Pages™ Specification
This document is intended for:
· Web Server and Application Server vendors that want to provide JSP containers that
conform to the Tag Extensions specification.
#include "iostream.h" #include "iomanip.h" #define N 20 //学习样本个数 #define IN 1 //输入层神经元数目 #define
#include "iostream.h"
#include "iomanip.h"
#define N 20 //学习样本个数
#define IN 1 //输入层神经元数目
#define HN 8 //隐层神经元数目
#define ON 1 //输出层神经元数目
double P[IN] //单个样本输入数据
double T[ON] //单个样本教师数据
double W
#include <reg51.h> /*-------------------------------------------- 调用方式:自行I/O 口定义﹫2001/05/12
#include <reg51.h>
/*--------------------------------------------
调用方式:自行I/O 口定义﹫2001/05/12
函数说明:私有函数,各接口定义
--------------------------------------------*/
sbit HD7279_CS=P1^4 // HD7279_CS
#include<stdlib.h> #include "dos.h" #include "graphics.h" #include "math.h" #define PI 3.1
#include<stdlib.h>
#include "dos.h"
#include "graphics.h"
#include "math.h"
#define PI 3.1415926
#define NULL 0
#include<stdio.h>
#include<string.h>
1 #define GPBCON (*(volatile unsigned long *)0x56000010) 2 #define GPBDAT (*(volatile unsigned long
1 #define GPBCON (*(volatile unsigned long *)0x56000010)
2 #define GPBDAT (*(volatile unsigned long *)0x56000014)
3 #define GPFCON (*(volatile unsigned long *)0x56000050)
4 #define GPFDAT (*(volati
//使用前请先定义keyscan为单片机的 //某个端口,如#define keyscan P1 //程序中扫描信号从keyscan高4位输出
//使用前请先定义keyscan为单片机的
//某个端口,如#define keyscan P1
//程序中扫描信号从keyscan高4位输出,
//键值返回信号从keyscan低4位读入,
//故使用时硬件电路需要与之相对,
//或者把软件中相应地方修改即可
Turbo C - (C) Copyright 1987, 1988 by Borland International */ #define S_IREAD 0x0100 /* from SY
Turbo C - (C) Copyright 1987, 1988 by Borland International */
#define S_IREAD 0x0100 /* from SYS\STAT.H */
#define S_IWRITE 0x0080 /* from SYS\STAT.H */
#define TRUE 1
#define FALSE 0
#de
93c46读写程序 define di_93 dip3 #define sk_93 dip2 #define cs_93 dip1 #define do_93 dip4 #define g
93c46读写程序
define di_93 dip3
#define sk_93 dip2
#define cs_93 dip1
#define do_93 dip4
#define gnd_93 dip5
#define org_93 dip6
sja1000 define head file
sja1000 define head file
VB遥控播放器红外遥控解码 #include <regX52.h> #define c(x) (x*110592/120000) sbit Ir_Pin=P3^2 sb
VB遥控播放器红外遥控解码
#include <regX52.h>
#define c(x) (x*110592/120000)
sbit Ir_Pin=P3^2
sbit beep=P2^1
//sbit RELAY=P2^0
#define INBUF_LEN 4 //数据长度
unsigned char inbuf1[INBUF_LEN]={ 0
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. CForm
移植uip-1.0到Atmega32 1)把 uip-1.0 的所有文件加入到工程
移植uip-1.0到Atmega32
1)把 uip-1.0 的所有文件加入到工程,包括 uip 目录的文件(除uip-split.c)、unix 目录的文件、lib 目录的文件;
2)修改 uip/uip-neighbor.c 文件的
void uip_neighbor_add(uip_ipaddr_t ipaddr, struct uip_neighbor_addr *addr)
C语言巧妙的宏定义, 如:得到指定地址上的一个字节或字 #define MEM_B( x ) ( *( (byte *) (x) ) ) #define MEM_W( x ) ( *( (wor
C语言巧妙的宏定义,
如:得到指定地址上的一个字节或字
#define MEM_B( x ) ( *( (byte *) (x) ) )
#define MEM_W( x ) ( *( (word *) (x)
三星lcd驱动
三星lcd驱动,S6B0741,128X129FENBLV#ifndef _LCD_H_
#define _LCD_H_
#include "settings.h"
#include "Battery.h"
#include "EnDecode.h"
#include "main.h"
#include <stdio.h> #define MAX 10
#include <stdio.h>
#define MAX 10
arm9的bootloader,适合通用2410x平台 vivi.pal(20051228)支持tv输出和vga输出
arm9的bootloader,适合通用2410x平台
vivi.pal(20051228)支持tv输出和vga输出,vclk为26.25mhz
vivi(20060330)支持vga输出和tv输出,vclk为25mhz
以上两个vivi均编译自vivi-br-release(20051228).tar.gz
在两个不同vivi间切换的方法是在源文件“/include/platform/s
#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>