#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口
上傳時(shí)間: 2013-12-03
上傳用戶:zm7516678
資源簡介: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...
上傳時(shí)間: 2013-11-24
上傳用戶:fdmpy
資源簡介:/* ?* _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....
上傳時(shí)間: 2016-03-03
上傳用戶:彥 yan
資源簡介:#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;...
上傳時(shí)間: 2016-02-11
上傳用戶:嬌縱Pamper
資源簡介: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...
上傳時(shí)間: 2021-12-18
上傳用戶:2590813506
資源簡介:/****************************************************************? ? ? ? ? ? ? ? ? 外部晶振8M? ? ? ? ? ? ? ? ? PA0~3:四位數(shù)碼管的位選? ? ? ? ? ? ? ? ? PB0~7:數(shù)碼管的8位段選? ? ? ? ? ? ? ? ? 外部中斷0用...
上傳時(shí)間: 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 ; ...
上傳時(shí)間: 2016-07-02
上傳用戶:184890962
資源簡介:TLC2543是TI公司的12位串行模數(shù)轉(zhuǎn)換器,使用開關(guān)電容逐次逼近技術(shù)完成A/D轉(zhuǎn)換過程。由于是串行輸入結(jié)構(gòu),能夠節(jié)省51系列單片機(jī)I/O資源;且價(jià)格適中,分辨率較高,因此在儀器儀表中有較為廣泛的應(yīng)用。 TLC2543的特點(diǎn) (1)12位分辯率A/D轉(zhuǎn)換器; (2)在...
上傳時(shí)間: 2013-11-19
上傳用戶:shen1230
資源簡介:#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定義串行時(shí)鐘線所在口 使用時(shí)根據(jù)自己的需要 sbit SDA= P1^7 //定義串行數(shù)據(jù)線所在口 使用時(shí)根據(jù)自己的需要 #define SomeNOP() {_nop_() _nop_() _nop_() _nop_() }
上傳時(shí)間: 2015-08-30
上傳用戶:rocketrevenge
資源簡介:可預(yù)置的8位計(jì)數(shù)器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //變量類型的宏定義 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的數(shù)碼管段碼 0x49,0x41,0x1f,0x01...
上傳時(shí)間: 2015-04-29
上傳用戶:changeboy
資源簡介:PC與單片機(jī)雙向通訊智能溫控程序 #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 ...
上傳時(shí)間: 2014-11-29
上傳用戶:風(fēng)之驕子
資源簡介:拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val為已輸入的拼音碼字符串頭指針, 反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗
上傳時(shí)間: 2013-12-25
上傳用戶:ljmwh2000
資源簡介:一個(gè)用C51實(shí)現(xiàn)單片機(jī)的中文輸入法,拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val為已輸入的拼音碼字符串頭指針,反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗
上傳時(shí)間: 2015-05-17
上傳用戶:frank1234
資源簡介:曲譜存貯格式 unsigned char code MusicName{音高,音長,音高,音長...., 0,0} 末尾:0,0 表示結(jié)束(Important) 音高由三位數(shù)字組成: 個(gè)位是表示 1~7 這七個(gè)音符 十位是表示音符所在的音區(qū):1-低音,2-中音,3-高音 百位表示這個(gè)音符是否要升半音: 0-不升...
上傳時(shí)間: 2013-12-15
上傳用戶:671145514
資源簡介:拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val為已輸入的拼音碼字符串頭指針, 反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗 應(yīng)用舉例:
上傳時(shí)間: 2015-09-07
上傳用戶:zhouli
資源簡介:使用mediastreamer2的g711common.h. unsigned char s16_to_alaw(int pcm_val). 將16bit的原始樣本encode 成為8bit的a-law碼.
上傳時(shí)間: 2015-11-03
上傳用戶:qq521
資源簡介:數(shù)據(jù)結(jié)構(gòu) 課程 2叉樹的遍歷 #include "stdafx.h" #include <iostream.h> typedef char elemtype
上傳時(shí)間: 2013-11-30
上傳用戶:tb_6877751
資源簡介:51單片機(jī)的_中文拼音輸入法_c源程序 拼音輸入法杳詢函數(shù): unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val為已輸入的拼音碼字符串頭指針, 反回值為中文的起始地址,當(dāng)為0時(shí),杳詢失敗 應(yīng)用舉例: { unsigned char input_str...
上傳時(shí)間: 2014-12-01
上傳用戶:源弋弋
資源簡介:#include<reg51.h> unsigned char miao=0,fen=0,shi=0; unsigned? char? miao1=0,miao2=0; unsigned? char? fen1=0,fen2=0; unsigned? char? shi1=0,shi2=0;
上傳時(shí)間: 2013-11-04
上傳用戶:ruan2570406
資源簡介: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) {
上傳時(shí)間: 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++) } }
上傳時(shí)間: 2016-03-30
上傳用戶:cuibaigao
資源簡介://通過18B20檢測的數(shù)字溫度可在電腦上顯示當(dāng)前溫度值 #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...
上傳時(shí)間: 2014-01-19
上傳用戶:Andy123456
資源簡介://1602液晶顯示字屏為:TX-1C MCU GOTOYUNLONGDZ #include<reg52.h> #define uchar unsigned char #define uint unsigned int
上傳時(shí)間: 2014-11-14
上傳用戶:caiiicc
資源簡介:遙控解碼通過電腦串口顯示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar data IRcode[4] //定義一個(gè)4字節(jié)的數(shù)組用來存儲(chǔ)代碼 uchar CodeTemp //編碼字節(jié)緩存變量 uchar i,j,k //延時(shí)用的循環(huán)變量 sbit IRsignal=P...
上傳時(shí)間: 2013-12-12
上傳用戶:Breathe0125
資源簡介:#include <reg52.h> #include <stdio.h> #include <string.h> #define uchar unsigned char #define uint unsigned int #define isp_iap_byte_read 0x1 #define isp_iap_byte_program 0x2 #define isp_iap_sector_erase 0x3 #define wait_time 0x1
上傳時(shí)間: 2016-05-18
上傳用戶:agent
資源簡介:#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...
上傳時(shí)間: 2016-07-21
上傳用戶:x4587
資源簡介:#include <stc12c2052AD.H>// 標(biāo)準(zhǔn)庫的頭文件 #include <intrins.h> #include <absacc.h> #define uchar unsigned char #define uint unsigned int
上傳時(shí)間: 2016-08-29
上傳用戶:rocwangdp
資源簡介: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 //數(shù)據(jù)長度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //發(fā)送緩沖區(qū) un...
上傳時(shí)間: 2013-12-21
上傳用戶:yph853211
資源簡介:#include "define.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*////////////////////////////////////////////////////////////////////////////// This is a pretreatment. /////////////////...
上傳時(shí)間: 2015-07-16
上傳用戶:ynsnjs
資源簡介:用VC制作一個(gè)商品交易管理系統(tǒng).部分代碼:“// 商品交易管理系統(tǒng)View.cpp #include “MyDlg1.h” void CMyView::OnRadiospxx() { // TODO: Add your control notification handler code here CMyDlg1 MyDlg1 MyDlg1.DoModal() } ”
上傳時(shí)間: 2013-12-16
上傳用戶:banyou