搜索结果
找到约 47 项符合
const 的查询结果
按分类筛选
单片机编程 红外解码程序
/*
 * _168ZHONGDUAN2.c
 *
 * Created: 2014/11/2 15:12:45
 *  Author: lenovo
 */ 
#include <avr/io.h>
#include <avr/iom168pa.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include <avr/eeprom.h>
//#include <util/delay_basic.h>
//unsigned char const SEGtabl ...
嵌入式综合 红外遥控RGB
#include "STC90.h"
#include < intrins.h >
#define uchar unsigned char
#define uint unsigned int
#define led_port P1
sbit IR_RE = P3^2;
sbit led_r = P1^3;
sbit led_g = P1^4;
sbit led_b = P1^5;
sbit led_wd = P1^7;
sbit K1 =P3^0 ; //增加键
sbit K2 =P3^1 ; ...
源码 点亮P10单元板单片机源程序
/*=================================================================
4扫16*16下入上出C语言程序, 低位起笔,数据反相。
预定义
**************************************************************/
#include
#include //可使用其中定义的宏来访问绝对地址?
bit ture=1; // 使能正反相位选择
bit false=0; / ...
软件 PL0语言设计一个词法分析器
PL0语言是与pascal类似的语言,但是比pascal语言的词法、语法更加严格苛刻。
在PL0语言中,只有五种类型的单词:关键字、用户自定义标识符、数字、特殊符号以及非法标识符。
根据题目给出的PL0的文法,关键字只有如下几个:
Const——用来声明常量;
Var——用来声明变量;
Procedure——用来声明过程;
...
源码 jtbc内容管理系统
数据库的链接配置位于common/incfiles/const.inc.php。
$db_host = '127.0.0.1'; //数据库主机地址&nbsp;
$db_username = 'root'; //用户名
$db_password = ''; //密码
$db_database = 'jtbc_database'; //数据库名称
数据库的创建脚本在 _mysql 目录中。
默认的管理员路径为http://您的网站地址/admin/,默认的用户名和 ...
技术资料 C++的底层机制
c++为我们所提供的各种存取控制仅仅是在编译阶段给我们的限制,也就是说是编译器确保了你在完成任务之前的正确行为,如果你的行为不正确,那么你休想构造出任何可执行程序来。H如果真正到了产生可执行代码阶段,无论是c,ct+,还是pascal,大家都一样,你认为c和C++编译器产生的机器代码会有所不同吗,你认为c++产生的机器 ...
技术资料 温度控制的PID算法的C语言程序.
#nclude<reg51.h>#include<intrins.h>#销nclude<math.h>#include<string.h>struct PID{unsigned int SetPoint;//设定目标 Desired Value unsigned int Proportion;//比例常数Proportional Const unsigned int integral;//积分常数Integral Const unsigned int Derivative://微分常数Derivative Const unsigned int LastE ...