SX 4Mhz Delay Sub
microcontrolleruser
Posts: 1,194
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.
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
Found 32khz internal oscillator or RC setting in SX Editor/Device.
See if it applies to SX28.
That makes coding delays about as simple as it gets.