3 Answers
+ 1
import time
and use time.sleep(mili / 1000)
+ 1
it doesn't have enough accuracy for us. it adds 80 micro seconds in each iteration.
0
I'm struggling to with that problem. I need 1.9”s sleep. But after days of research I discovert that it's not possible to sleep that short... on a Raspberry I managed to sleep 5.4”s when I sleep(1.9e-7) -> factor 20