%例程3-9 产生非周期方波 t=-1:1/1E3:1; x=tripuls(t,0.3); y=tripuls(t,0.3,-0.8); subplot(2,1,1); plot(t,x); subplot(2,1,2); plot…
星期几 源代码
汇集 星期几 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
%例程3-9 产生非周期方波 t=-1:1/1E3:1; x=tripuls(t,0.3); y=tripuls(t,0.3,-0.8); subplot(2,1,1); plot(t,x); subplot(2,1,2); plot…
如何精确计算延时子程序的执行时间? 汇编语言的一大优势就是能够精确控制程序的执行时间,这在编写一些对时序要求严格的外围器件驱动时由为重要! ;延时子程序,12M晶振延时约253毫秒 DELAY: MOV R4,#2------执行1个机…
DELAY: MOV R0,#0FFH MOV R1,#0FFH DLY_LP: NOP ;1周期 NOP ;1周期 DJNZ R0,DLY_LP ;2周期 ;内循环延时时间为(1+1+2)255 MOV R0,#0FFH ;1周…
DELAY: MOV R0,#0FFH MOV R1,#0FFH DLY_LP: NOP ;1周期 NOP ;1周期 DJNZ R0,DLY_LP ;2周期 ;内循环延时时间为(1+1+2)255 MOV R0,#0FFH ;1周…
#include "graphics.h" #include "stdlib.h" #include "math.h" #include "stdio.h" #include "dos.h" #define t 15000 #define t1 3…
: * * * *
无标题文档 if (!document.layers&&!document.all) event="test" function showtip2(current,e,text){ if (document.all&&document.…