frequency and duty cycle??
what , how obtain frequency , duty cycle of sqaure wave generated following code?
mov tmod,#2h
mov th0,#-250
again: setb p1.4
acall delay
clr p1.4
acall delay
sjmp again
delay: setb tr0
back: jnb tf0,back
clr tr0
clr tf0
mov tmod,#2h
mov th0,#-250
again: setb p1.4
acall delay
clr p1.4
acall delay
sjmp again
delay: setb tr0
back: jnb tf0,back
clr tr0
clr tf0
check out http://tscm.com/dutycy.pdf sorry cant more
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > frequency and duty cycle??
arduino
Comments
Post a Comment