#include "at89x51.h" unsigned char code ddisp[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f} //段显0123456789,P0口
资源简介:#include "at89x51.h" unsigned char code ddisp[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f} //段显0123456789,P0口
上传时间: 2013-12-03
上传用户:zm7516678
资源简介:/* * _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....
上传时间: 2016-03-03
上传用户:彦 yan
资源简介:/**************************************************************** 外部晶振8M PA0~3:四位数码管的位选 PB0~7:数码管的8位段选 外部中断0用...
上传时间: 2016-03-09
上传用户:彦 yan
资源简介:#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 ; ...
上传时间: 2016-07-02
上传用户:184890962
资源简介:TLC2543是TI公司的12位串行模数转换器,使用开关电容逐次逼近技术完成A/D转换过程。由于是串行输入结构,能够节省51系列单片机I/O资源;且价格适中,分辨率较高,因此在仪器仪表中有较为广泛的应用。 TLC2543的特点 (1)12位分辩率A/D转换器; (2)在...
上传时间: 2013-11-19
上传用户:shen1230
资源简介:#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定义串行时钟线所在口 使用时根据自己的需要 sbit SDA= P1^7 //定义串行数据线所在口 使用时根据自己的需要 #define SomeNOP() {_nop_() _nop_() _nop_() _nop_() }
上传时间: 2015-08-30
上传用户:rocketrevenge
资源简介:SHUZIZHONG显示电路 源程序如下: #include <reg51.h>#include <intrins.h> unsigned char data dis_digit; unsigned char code dis_code[]={ 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};unsigned char data dis_buf...
上传时间: 2013-11-24
上传用户:fdmpy
资源简介:#include<reg51.h> #define uchar unsigned char #define uint unsigned int uint i,j; sbit dula=P2^6; sbit wela=P2^7; uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d, 0x7d,0x07,0x7f,0x6f,0x77,0x7c, 0x39,0x5e,0x79,0x71}; void main() { j=0;...
上传时间: 2016-02-11
上传用户:娇纵Pamper
资源简介:拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针, 反回值为中文的起始地址,当为0时,杳询失败
上传时间: 2013-12-25
上传用户:ljmwh2000
资源简介:一个用C51实现单片机的中文输入法,拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针,反回值为中文的起始地址,当为0时,杳询失败
上传时间: 2015-05-17
上传用户:frank1234
资源简介:曲谱存贮格式 unsigned char code MusicName{音高,音长,音高,音长...., 0,0} 末尾:0,0 表示结束(Important) 音高由三位数字组成: 个位是表示 1~7 这七个音符 十位是表示音符所在的音区:1-低音,2-中音,3-高音 百位表示这个音符是否要升半音: 0-不升...
上传时间: 2013-12-15
上传用户:671145514
资源简介:拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针, 反回值为中文的起始地址,当为0时,杳询失败 应用举例:
上传时间: 2015-09-07
上传用户:zhouli
资源简介:使用mediastreamer2的g711common.h. unsigned char s16_to_alaw(int pcm_val). 将16bit的原始样本encode 成为8bit的a-law码.
上传时间: 2015-11-03
上传用户:qq521
资源简介:51单片机的_中文拼音输入法_c源程序 拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针, 反回值为中文的起始地址,当为0时,杳询失败 应用举例: { unsigned char input_str...
上传时间: 2014-12-01
上传用户:源弋弋
资源简介:include<reg52.h> #define uint unsigned int #define uchar unsigned char uint temp,aa,wang,qian,bai,shi,ge; sbit dula=P2^6; sbit wela=P2^7; uchar code table[]={ 0x3f,0x06,0x5b,0x4f, 0x66,0x6d,0x7d,0x07, 0x7f,0x6f,0x...
上传时间: 2021-12-18
上传用户:2590813506
资源简介:可预置的8位计数器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //变量类型的宏定义 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的数码管段码 0x49,0x41,0x1f,0x01...
上传时间: 2015-04-29
上传用户:changeboy
资源简介:12864液晶原程序.#include <reg52.h> #include <intrins.h> typedef unsigned char BYTE typedef bit BOOL sbit rs=P2^0 sbit rw=P2^1 sbit e =P2^2 BYTE code dis[]={"www.zansi.com"} delay(BYTE ms) {
上传时间: 2016-04-25
上传用户:zsjinju
资源简介:#include <reg51.h> void delay_ms(unsigned short ms) { unsigned short i unsigned char j for(i=0 i<ms i++) { for(j=0 j<200 j++) for(j=0 j<102 j++) } }
上传时间: 2016-03-30
上传用户:cuibaigao
资源简介://通过18B20检测的数字温度可在电脑上显示当前温度值 #include <reg52.h> #define uchar unsigned char #define uint unsigned int sbit DS=P2^2 //define interface uint temp // variable of temperature uchar flag1 // sign of the result positive...
上传时间: 2014-01-19
上传用户:Andy123456
资源简介://1602液晶显示字屏为:TX-1C MCU GOTOYUNLONGDZ #include<reg52.h> #define uchar unsigned char #define uint unsigned int
上传时间: 2014-11-14
上传用户:caiiicc
资源简介: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 DELPort P2_1 #define LEDTwoC P3_6 ...
上传时间: 2014-11-29
上传用户:风之骄子
资源简介:遥控解码通过电脑串口显示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar data IRcode[4] //定义一个4字节的数组用来存储代码 uchar CodeTemp //编码字节缓存变量 uchar i,j,k //延时用的循环变量 sbit IRsignal=P...
上传时间: 2013-12-12
上传用户:Breathe0125
资源简介:#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 "T100D...
上传时间: 2016-07-21
上传用户:x4587
资源简介:数据结构 课程 2叉树的遍历 #include "stdafx.h" #include <iostream.h> typedef char elemtype
上传时间: 2013-11-30
上传用户:tb_6877751
资源简介:/*================================================================= 4扫16*16下入上出C语言程序, 低位起笔,数据反相。 预定义 **************************************************************/ #include #include //可使用其中定义的宏来访问绝对...
上传时间: 2017-05-04
上传用户:sbfd010
资源简介:#include "define.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*////////////////////////////////////////////////////////////////////////////// This is a pretreatment. /////////////////...
上传时间: 2015-07-16
上传用户:ynsnjs
资源简介:用VC制作一个商品交易管理系统.部分代码:“// 商品交易管理系统View.cpp #include “MyDlg1.h” void CMyView::OnRadiospxx() { // TODO: Add your control notification handler code here CMyDlg1 MyDlg1 MyDlg1.DoModal() } ”
上传时间: 2013-12-16
上传用户:banyou
资源简介:操作系统课程设计_进程调度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct node { char name[10] /*进程标识符*/ int prio /*进程优先数*/ int round /*进程时间轮转时间片*/ int cputime /*进程占...
上传时间: 2016-08-09
上传用户:凤临西北
资源简介:pc.c是移植于μCOS-II的PC服务代码(pc.c) 主要改动: 1、#include "includes.h"改为"config.h" 2、在屏幕上显示改为向UART0发送数据,在电脑上显示,影响的函数: PC_Dispchar()、PC_DispClrCol()、PC_DispClrRow()、PC_DispClrScr()和PC_DispStr() 3、获取...
上传时间: 2015-03-18
上传用户:ynzfm
资源简介:c语言中写二进制数。引用例子: #define Bin(n) LongToBin(0x##n##l) void main(void) { unsigned char c c = Bin(10101001) // c = 0xA9 }
上传时间: 2015-04-13
上传用户:a6697238