Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - tr0
Search - tr0 - List
LOOP1: CJNE A,#20H,LOOP2 CLR CY SUBB A,#07H SJMP END1 LOOP2: CJNE A,#10H,LOOP3 CLR CY SUBB A,#07H SJMP END1 LOOP3: DEC 3AH END1: MOV TH0,0BH MOV TL0,0DCH SETB TR0 RETI
Date : 2008-10-13 Size : 128.94kb User : ccdd

EA = 1 //开总中断 ET0 = 1 //允许定时器0中断 TMOD = 1 //定时器工作方式选择 TL0 = 0x06 TH0 = 0xf8 //定时器赋予初值 TR0 = 1 //启动定时器
Date : 2008-10-13 Size : 872byte User : AC

LOOP1: CJNE A,#20H,LOOP2 CLR CY SUBB A,#07H SJMP END1 LOOP2: CJNE A,#10H,LOOP3 CLR CY SUBB A,#07H SJMP END1 LOOP3: DEC 3AH END1: MOV TH0,0BH MOV TL0,0DCH SETB TR0 RETI -LOOP1: CJNE A,# 20H, LOOP2 CLR CY SUBB A,# 07H SJMP END1LOOP2: CJNE A,# 10H, LOOP3 CLR CY SUBB A,# 07H SJMP END1LOOP3: DEC 3AHEND1: MOV TH0, 0BH MOV TL0, 0DCH SETB TR0RETI
Date : 2025-07-04 Size : 129kb User :

EA = 1 //开总中断 ET0 = 1 //允许定时器0中断 TMOD = 1 //定时器工作方式选择 TL0 = 0x06 TH0 = 0xf8 //定时器赋予初值 TR0 = 1 //启动定时器 -EA = 1// open a total interruption of ET0 = 1// allow timer 0 interrupt TMOD = 1// Timer to choose working methods TL0 = 0x06 TH0 = 0xf8// timer initial value given TR0 = 1// start timer
Date : 2025-07-04 Size : 1kb User : AC

TR069协议原版,对这方面感兴趣的可以看下.最好参考相关协议.TR098.TR104等.-TR069 original agreement, in this regard can be of interest to facie. The best reference to the relevant agreements. TR098.TR104 such.
Date : 2025-07-04 Size : 1.2mb User : baobao

DL : 0
51单片连tcs230的源程序,绝对原创,可以记忆颜色。 #define uchar unsigned char #include <reg52.h> #include<math.h> sbit S0=P1^7 sbit S1=P1^0 //端口定义 sbit S2=P1^1 sbit S3=P1^2 sbit OE=P1^3 sbit OUT=P3^4 //频率从TO口输入 sbit key0=P1^5 sbit LED=P1^6 sbit a=P3^0 sbit b=P3^1 uchar color //1:blue 2:green 3:red uchar T[4] //color timer uchar TH[4] uchar TL[4] uchar bizhi[4] void time1() interrupt 3 { TH[color]=TH0 TL[color]=TL0 T[color]=(TH[color]*0xff+TL[color]) TR0=0 //关定时器 TR1=0 TH1=0xB1 TL1=0xE0 //归0 TH0=0x00 TL0=0x00 //归0 }-51 monolithic tcs230 even the source is absolutely original, you can remember the color.# Define uchar unsigned char# Include
Date : 2025-07-04 Size : 1kb User : 黄胜

DL : 0
ADC EQU 35H CLOCK BIT P2.4 定义ADC0808时钟位 ST BIT P2.5 EOC BIT P2.6 OE BIT P2.7 PWM BIT P3.7 ORG 00H SJMP START ORG 0BH LJMP INT_T0 START: MOV TMOD,#02H MOV TH0,#20 MOV TL0,#00H MOV IE,#82H SETB TR0 WAIT: CLR ST SETB ST CLR ST 启动AD转换 JNB EOC,$ 等待转换结束 SETB OE MOV ADC,P1 读取AD转换结果 CLR OE SETB PWM PWM输出 MOV A,ADC LCALL DELAY CLR PWM MOV A,#255 SUBB A,ADC LCALL DELAY SJMP WAIT INT_T0: CPL CLOCK 提供ADC0808时钟信号 RETI DELAY: MOV R6,#1 D1: DJNZ R6,D1 DJNZ ACC,D1 RET END-fgfdsg
Date : 2025-07-04 Size : 47kb User : PXH

DL : 0
PWM信号对直流电机调速,使用Tr0定时器产生PWM信号中断程序对直流电机调速控制-PWM signal DC motor speed control
Date : 2025-07-04 Size : 1kb User : 张宏伟

用于hspice的tr0文件的数据读取。还可以进行绘图等操作。-hspice matlab toolbox
Date : 2025-07-04 Size : 583kb User : barney lin

DL : 0
#include<reg52.h> #define uint unsigned int #define uchar unsigned char uchar abit=16 //流到哪位 uchar atimer0_n uchar code abit8[9]={1,2,4,8,16,32,64,128,0} uchar nn char a,b,c,d main() { TMOD = 0x11 TL0 = 0x00 //2.5ms TH0 = 0xF7 TF0 = 0 TR0 = 1 EA=1 ET0=1 while(1) { a=abit if(a>7||a<0) a=8 b=abit-1 if(b>7||b<0) b=8 c=abit-2 if(c>7||c<0) c=8 d=abit-3 if(d>7||d<0) d=8 -#include<reg52.h> #define uint unsigned int #define uchar unsigned char uchar abit=16 // uchar atimer0_n uchar code abit8[9]={1,2,4,8,16,32,64,128,0} uchar nn char a,b,c,d main() { TMOD = 0x11 TL0 = 0x00 //2.5ms TH0 = 0xF7 TF0 = 0 TR0 = 1 EA=1 ET0=1 while(1) { a=abit if(a>7||a<0) a=8 b=abit-1 if(b>7||b<0) b=8 c=abit-2 if(c>7||c<0) c=8 d=abit-3 if(d>7||d<0) d=8
Date : 2025-07-04 Size : 3kb User : www

DL : 0
第一题 变速流水灯设计 (I/O+外部中断) 1、按键S1控制LED1~LED4、LED10~LED13流水,按下S2暂停流水,再按下S2时,从暂停的位置继续流水; 2、流水灯的速度分为4级(1,2,3,4),按键S3控制加速,按键S4控制减速,加速最高加到4,减速最低减到1。 (提示:定时器实现流水,S2控制定时器运行控制位TR0,S3和S4控制定时中断内的控制变量)-First speed light water design (I/O+ external interrupts) 1, press the key S1 control LED1~LED4, LED10~LED13 serial, press S2 to suspend running water, then press the S2, continued to flow the paused location 2, the speed of light water is divided into 4 levels (1,2,3,4), press S3 control acceleration, press S4 control, accelerated Supreme plus 4, slowed down the lowest down to 1. (Note: timer water, S2 control timer control TR0,S3 and S4 control timer interrupt in the control variables)
Date : 2025-07-04 Size : 17kb User : 潇洒今生醉

DL : 0
void main(void) { TMOD=0x01; //设T0为方式1,GATE=1; TH0=0; TL0=0; ET0=1; //允许T0中断 EA=1; //开启总中断 InitLcd1602(); LcdShowStr(0,0,PuZh); while(1) { StartModule(); while(!Echo); //当RX为零时等待 TR0=1; //开启计数 while(Echo); //当RX为1计数并等待 TR0=0; //关闭计数 Conut(); //计算 delayms(80); } }(void main(void) { TMOD=0x01; TH0=0; TL0=0; ET0=1; EA=1; InitLcd1602(); LcdShowStr(0,0,PuZh); while(1) { StartModule(); while(!Echo); TR0=1; while(Echo); TR0=0; Conut(); delayms(80); } })
Date : 2025-07-04 Size : 23kb User : fxjeasylife
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.