Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop SCM
Title: ultra-sonic Download
 Description: -------3.2 TIMER DELAY #include <sfr51.inc> -----------------MAIN PROGRAM MAIN: MOV R6,#1 Ajustment:R6 start at#1 ACALL PWM_SETUP ACALL PWM SJMP MAIN PWM_SETUP: 11.0592M/12/256/240/30 = 2SEC MOV TMOD,#10H timer1, mode1 MOV TH0,#16 ---------SET DELAY VALUE MOV TL0,#00 11.0592M/12/256/240/30 = 2SEC RET PWM: SETB TR1 JNB F0,DO_LOW FLAG(F0) TO INDICATE DO_LOW/HIGH DO_HIGH: JNB TF1,$ WAIT FOR TF1 SET DJNZ R6,LEAVE LEAVE FROM SUBROUTINE IF R6 NOT ZERO SETB P1.0 MOV R6,#24 Ton=6/30=80
 Downloaders recently: [More information of uploader lncknight]
 To Search:
File list (Check if you may need any files):
ultra sonic.asm
    

CodeBus www.codebus.net