SX 4Mhz Delay Sub

To produce a one second delay do this.

Set prescaler to 256.

Loop 39 times to produce 1/100 second delay.

Second loop countdown 100 to make your one second delay.

Pretty handy.Ran across that working on a project.


Comments

Sign In or Register to comment.