Hello Thomas.
Thank you for investing the time on this particularly with the test.
I couldn't compile your code. Where is mySystemTime defined?
Sorry - I misread your comment 2) and thought that you meant something else. You are absolutely right.
It is easily fixed by changing SetCrudeTimer to
and thank you for this insight.
Thank you for investing the time on this particularly with the test.
I couldn't compile your code. Where is mySystemTime defined?
Sorry - I misread your comment 2) and thought that you meant something else. You are absolutely right.
It is easily fixed by changing SetCrudeTimer to
Code
procedure SetCrudeTimer( pTimer : TCrudeTimer; pDelay : word ); // delay in ms
begin
fTimers[ pTimer ] := pDelay + word(fPulse);
end;
begin
fTimers[ pTimer ] := pDelay + word(fPulse);
end;
and thank you for this insight.