#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