We are about to switch to a new forum software. Until then we have removed the registration on this forum.
micro second - I wand delay(micro second)
First, I know that micro second control is not possible in the draw statement.
Therefore, you want to use a thread. But I want to use micro second delay,
Is there a way? Is there anything you can provide as a delay function? Is there any other way?
Answers
The function
millis()
returns the number of milliseconds (1/1000th of a second) since the sketch has started.Check these:
https://forum.processing.org/two/search?Search=nanosecond
https://forum.processing.org/two/discussion/19731/error-waited-5000ms#latest
and check this other post as it could be relevant to your case:
https://forum.processing.org/two/discussion/21123/serial-connection-opened-in-a-parallel-thread#latest
Kf
Dear kfrajer,
very good answer. thanks.