Hello Paul and others, I am sorry perhaps I am slow in mind.
You can't delay _exactly_ 20ms, you can only delay with an accuracy of 10ms.
OK,I re_state what I want.I like to hold delay as close as multiple of 10ms.
As for my first test I think result is too short. Your first answer said.
The ticks are 10ms apart, but your call to cyg_thread_delay isn't synchronized with these ticks.
I expected there are ways to synchronize with these ticks,and get as close as 10ms delay. And another thing.What I want to do is that I display time before calling delay func(like cyg_thread_delay),
and display time again after returned from delay function. Would you teach me how to do it. I am very much obliged. Masahiro Ariga -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
