Define
共 234 篇文章
Define 相关的电子技术资料,包括技术文档、应用笔记、电路设计、代码示例等,共 234 篇文章,持续更新中。
一個很好用的 lcd 時鐘程序 C語言 #include<reg51.h> #include<stdio.h> //定義計時器0 的重裝值 #define RELOAD
一個很好用的 lcd 時鐘程序 C語言
#include<reg51.h>
#include<stdio.h>
//定義計時器0 的重裝值
#define RELOAD_HIGH 0x3C
#define RELOAD_LOW 0xD2
//定義按鍵彈跳時間
#define DB_VAL
//定義設置模式的最大時間間隔
#define TIMEOUT 20
#include <stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2
#include <stdio.h>
#include <stdlib.h>
#define OK 1
#define OVERFLOW -2
typedef int status
typedef struct LinkList{ //用带表头结点的有序链表表示多项式
float coef //系数
int expn //指
PC与单片机双向通讯智能温控程序 #include <AT89X51.H> #include <intrins.h> #define Key_UP P1_0 #def
PC与单片机双向通讯智能温控程序
#include <AT89X51.H>
#include <intrins.h>
#define Key_UP P1_0
#define Key_DOWN P1_1
#define Key_SET P1_2
#define RelayOutPort P2_0
#define LEDPort P0
#define
to define color of the image
to define color of the image
经修正并验证过在 IAR MSP430 v3.42A 下编译正之 uC/OS-II For MSP430F149 的例程(修正一般网站上重复 Define 无法编译的问题),而且我以于 Simulat
经修正并验证过在 IAR MSP430 v3.42A 下编译正之 uC/OS-II For MSP430F149 的例程(修正一般网站上重复 Define 无法编译的问题),而且我以于 Simulator 内并设好了 Watch Dog Interrup 及观测的断点也设好了,可以直接于 IAR MSP430 下 Compiler 后再进 Debug Mode 执行即可正常执行于 app.c 下的
//1602液晶显示字屏为:TX-1C MCU GOTOYUNLONGDZ #include<reg52.h> #define uchar unsigned char #defi
//1602液晶显示字屏为:TX-1C MCU GOTOYUNLONGDZ
#include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
define 编译原理词法分析器 八、 实验一:设计SAMPLE语言的词法分析器 检查要求: a) 启动程序后
define
编译原理词法分析器
八、 实验一:设计SAMPLE语言的词法分析器
检查要求:
a) 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音);
b) 请求输入测试程序名,键入程序名后自动开始词法分析并输出结果;
c) 输出结果为单词的二元式序列(样式见样板输出1和2);
d) 要求能发现下列词法错误和指出错误性质和位置:
非法字符,即不是SAMPLE字符集的符
本程序输入一个矩阵可以计算出其逆矩阵 具体要多大的矩阵 请自行在程序中修改程序头的 #define N
本程序输入一个矩阵可以计算出其逆矩阵
具体要多大的矩阵 请自行在程序中修改程序头的 #define N
his project was built and tested with WinAVR-20060125. Make sure the MCU target define in the Mak
his project was built and tested with WinAVR-20060125.
Make sure the MCU target define in the Makefiles corresponds to the AVR you are using!!
To build the code, just install WinAVR and run "mak
his header file that is used to define all preprossor directives, global variables, and prototype
his header file that is used to define all preprossor directives,
global variables, and prototypes.
The user must modify this header file for their particular Bridge Transducer
in use before proc
#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
I2C总线驱动程序
1 /**————————————————————<BR>2 〖说明〗I2C总线驱动程序(用两个普通IO模拟I2C总线)<BR>3 包括100Khz(T=10us)的标准模式(慢速模式)选择,<BR>4 和400Khz(T=2.5us)的快速模式选择,<BR>5 默认11.0592Mhz的晶振。<BR>6 〖文件〗PCF8563T.C ﹫2001/11/2 7<BR>7 〖作者〗龙啸九天 <A h
this code define genetic programming tools and some applications
this code define genetic programming tools and some applications
1. This BSP can support 2443EVT0 board. If you want to use EVT0 BSP, set followings. In smd
1. This BSP can support 2443EVT0 board.
If you want to use EVT0 BSP, set followings.
In smdk2443\smdk2443.bat file
set BSP_EVT1=1
-> set BSP_EVT1=
In smdk2443\src\inc\bsp_cfg.h f
BP网络解决异或问题的实例
BP网络解决异或问题的实例,有初始值和最终结果的显示。本网络结构为三层BP网络,各层神经元个数可变,更改相关#define即可。(注释较详细,主函数中调用的函数和矩阵类都定义在文件function.h中)
先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUn
先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUnrec(Bitree t) { SqStack s StackInit(s) p=t while (p!=null !StackEmpty(s
Refer to the UML diagram above and implement the Course class. After you define the Course class, yo
Refer to the UML diagram above and implement the Course class. After you define the Course class, you must create a Course object with the following details:
Programming I, WXES1114, taught by SMT.
Description Scientific calculator. Allows to perform caclulation with high precicion and implemen
Description
Scientific calculator. Allows to perform caclulation with high precicion and implements most populatr mathematical functions: sin, cos, tan, asin, acon, atan, exp, log, sqr, floor and c
It define audio stream of Mpeg1 to 3 Layer Encoding and Decoding details.
It define audio stream of Mpeg1 to 3 Layer Encoding and Decoding details.
基于Verilog-HDL的硬件电路的实现 9.7 步进电机的控制 9.7.1 步进电机驱动的逻辑符号 9.7.2 步进电机驱动的时序图 9.7.3 步进电机驱动的逻辑框图
基于Verilog-HDL的硬件电路的实现
9.7 步进电机的控制
9.7.1 步进电机驱动的逻辑符号
9.7.2 步进电机驱动的时序图
9.7.3 步进电机驱动的逻辑框图
9.7.4 计数模块的设计与实现
9.7.5 译码模块的设计与实现
9.7.6 步进电机驱动的Verilog-HDL描述
9.7.7 编译指令-"宏替换`defin