Hi,
if I remeber correctly sleep is in units of seconds and usleep in units of
microseconds, thus leading to a conversion factor of 10e6. Or are the timings
not so critical?
Cheers
Matthias
Am Fri, 25 Jan 2013 22:28:03 +0800
schrieb Xiaofan Chen <xiaofanc@xxxxxxxxx>:
> - sleep(3);
> + usleep(3000);
--
---------------------------------------------------------------------
Dipl.-Phys. Matthias Janke
Physikalisches Institut der Universität Heidelberg
Im Neunheimer Feld 226
69120 Heidelberg
Deutschland
Tel: +49 (6221) 54 19 45 6
Fax: +49 (6221) 54 94 52
E-Mail: matthias.janke@xxxxxxxxxxxxxxxxxxxxxxx
Büro: 02.209
---------------------------------------------------------------------
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|