I was trying this:
delay_ms(delay);
if(i==0)
delay--;
but should have been increasing/decreasing the delay time by wrapping the delay call in a loop of variable length instead.
This is mainly somewhere for me to dump interesting tidbits of tech info. Stuff that I may forget but will need again in the future. For a proper blog, visit my electronics blog (http://www.fangletronics.com) or my wife's pre-school crafty blog (http://www.filthwizardry.com).
delay_ms(delay);
if(i==0)
delay--;
No comments:
Post a Comment