Define

共 234 篇文章
Define 相关的电子技术资料,包括技术文档、应用笔记、电路设计、代码示例等,共 234 篇文章,持续更新中。

智能车赛道计时,4位数码管显示

本包包含2个文件<br /> <p> 1.智能车赛道计时器的PCB文件<br /> 2.智能车赛道计时器的程序 </p> <p> 程序有大部分注释,很好理解,引脚已经#define出来了,直接修改就好。 </p>

/* This program generates the DApkg.vhd file that is used to define * the DA filter core and give

/* This program generates the DApkg.vhd file that is used to define * the DA filter core and gives its parameters and the contents of the * Distributed Arithmetic Look-up-table "DALUT" according

This applet illustrates the prediction capabilities of the multi-layer perceptrons. It allows to def

This applet illustrates the prediction capabilities of the multi-layer perceptrons. It allows to define an input signal on which prediction will be performed. The user can choose the number of input u

//液晶显示初始化ini_OCMJ(void)和驱动程序sub_lcd(uchar in)。 //占用I/O口为 #define LCD_OUT P4 //sbit LCD_BUSY=P3^6

//液晶显示初始化ini_OCMJ(void)和驱动程序sub_lcd(uchar in)。 //占用I/O口为 #define LCD_OUT P4 //sbit LCD_BUSY=P3^6 //sbit LCD_REQ=P3^7

//使用说明: //使用前请先定义keyscan为单片机的 //某个端口,如#define keyscan P1 //程序中扫描信号从keyscan高4位输出

//使用说明: //使用前请先定义keyscan为单片机的 //某个端口,如#define keyscan P1 //程序中扫描信号从keyscan高4位输出, //键值返回信号从keyscan低4位读入, //故使用时硬件电路需要与之相对, //或者把软件中相应地方修改即可

/*双龙ISP板*/ //#define SOME_CHIP /*只支持少数几种芯片*/只支持生产所用的芯片

/*双龙ISP板*/ //#define SOME_CHIP /*只支持少数几种芯片*/只支持生产所用的芯片,避免太多的芯片选择导至出错!!! */

#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

#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

可预置的8位计数器程序的主要部分分析 #include &lt;AT89X51.H&gt; //器件配置文件 #define uchar unsigned char //变量类型的宏定义

可预置的8位计数器程序的主要部分分析 #include &lt;AT89X51.H&gt; //器件配置文件 #define uchar unsigned char //变量类型的宏定义 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的数码管段码 0x49,0x41,

VIP专区-嵌入式/单片机编程源码精选合集系列(112)

<b>VIP专区-嵌入式/单片机编程源码精选合集系列(112)</b><font color="red">资源包含以下内容:</font><br/>1. 总结了常用的主要c算法.<br/>2. 太阳能热水器智能控制,它以89C52单片机为核心.<br/>3. 本系统由单片机系统、矩阵键盘、LED显示和报警系统组成。系统能完成开锁、超时报警、超次锁定、管理员解密、修改用户密码基本的密码锁的功能。除上

VIP专区-嵌入式/单片机编程源码精选合集系列(76)

<b>VIP专区-嵌入式/单片机编程源码精选合集系列(76)</b><font color="red">资源包含以下内容:</font><br/>1. stc12c的AD处理.<br/>2. 这是keil公司的mcm2300开发板上的.<br/>3. 一些关于SOPC,NIOS设计的论文,可以作毕业设计参考.<br/>4. 远程数据访问RDA等.<br/>5. 基于lpc2148的按键扫描程序.<

VIP专区-嵌入式/单片机编程源码精选合集系列(37)

<b>VIP专区-嵌入式/单片机编程源码精选合集系列(37)</b><font color="red">资源包含以下内容:</font><br/>1. at91sam64编程实例.<br/>2. 一个用asm写的操作系统原型 很适合大家学习学习.<br/>3. 本文详细介绍了学习FREEBSD的一些命令.<br/>4. 一个12路串口+3路Socket口的数据收发程序 嵌入式ucLinux操作系

VIP专区-嵌入式/单片机编程源码精选合集系列(17)

<b>VIP专区-嵌入式/单片机编程源码精选合集系列(17)</b><font color="red">资源包含以下内容:</font><br/>1. 两轴云台控制程序.<br/>2. 全球定位系统数据提取.<br/>3. 车载GPS智能终端的设计与实现.<br/>4. Dsc8610:-------------OV8610+OV681+OV651数码相机源程序(2500.A.D公司的X51.EX

c语言中写二进制数。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c =

c语言中写二进制数。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c = 0xA9 }

增加ASCII.C的一个ASCI码(7F),用于虚拟按键用 修改UART串口的命令解析程序

增加ASCII.C的一个ASCI码(7F),用于虚拟按键用 修改UART串口的命令解析程序,修改RTC的pcf8563中断部分。 精简IIC和smart_timer代码,添加define.h的宏定义。 修改system.c里的消息堆栈的宏定义 增加ii.c函数,支持对eeprom的打包 增加由PLD或者GPIO输出的模拟UART,在6个CLOCK下速度为57.6K 增加消息的优先级功能

header define of EZ-LIB

header define of EZ-LIB

C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色

C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区域,修改#define S 50 即可;以整形形式输入(取值范围1-32767)用户需要证明的区域数目,相联的一对矩阵; 输出形式:以0和1输出关联矩阵,和以blue yellow orange pink形式输出每个区域相对应证明出的颜色;

51单片机实现的RS485通讯程序

<p>  #ifndef __485_C__</p> <p>  #define __485_C__</p> <p>  #include <reg51.h></reg51.h></p> <p>  #include <string.h></string.h></p> <p>  #define unsigned char uchar</p> <p>  #define unsigned int uint<

单片机几种软件滤波程序示例

<p> <br /> 假定从8位AD中读取数据(如果是更高位的AD可定义数据类型为int),子程序为get_ad();</p> <p> 1、限幅滤波法(又称程序判断滤波法)<br /> &nbsp;&nbsp;&nbsp; A、方法:<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 根据经验判断,确定两次采样允许的最大偏差值(设为A)<b

Predefined Style options define the style by setting several other options. If other options are als

Predefined Style options define the style by setting several other options. If other options are also used, the placement of the predefined style option in the command line is important. If the predef