I want to read T200's value.
Code:
res:=daveReadBytes(dc,daveTimer200,0,200,4,nil);
ShowMessage(Format('result%d=%s',[res,daveStrerror(res)]));
if res=0 then
ShowMessage(IntToStr(daveGetu32(dc)));
I get value 33554559,but actual value is 25778
the timer resolution is 100 ms
how can I read the Timer's Value ?
Best Regards
ChangJeff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to read T200's value.
Code:
res:=daveReadBytes(dc,daveTimer200,0,200,4,nil);
ShowMessage(Format('result%d=%s',[res,daveStrerror(res)]));
if res=0 then
ShowMessage(IntToStr(daveGetu32(dc)));
I get value 33554559,but actual value is 25778
the timer resolution is 100 ms
how can I read the Timer's Value ?
Best Regards
ChangJeff