3 ms·
Used to work with stepper motors and basic. Legacy code. Required very precise timing. Something Basic didn’t have. So we used for loops. Need a 2ms loop. 5
by treeman79 6y ago
Used to work with stepper motors and basic. Legacy code.
Required very precise timing. Something Basic didn’t have.
So we used for loops.
Need a 2ms loop. 5,000 iterations. Etc.
Worked fine for years, until we couldn’t order the same cpus. Then machine ran way to fast.
So we set it up so that at boot time, it would calibrate how many loops equaled various milliseconds. Problem solved.
Was a really weird early job.