Thread_sleep_for(xxx)

Hello,

The old wait_us(int_us) function is not present in KCS as it was deprecated a while back. I have to have some very accurate timings at 280us and 1150us which I used to accomplish using the wait_us() function. I don’t want to have to re-write big chunks of my code to use the timers to accomplish this.

Is there any way I can accomplish us duration timers in KCS?

Thanks

AndrewR

Hello,

that is not true.

1.wait and wait_ms functions were removed but wait_us not
2. mentioned change related to wait function is related to MbedOS version and has nothing together with KSC.

BR, Jan

Hello Jan,

thanks for your reply. Just to confirm, on KSC, for us delays I can use wait_us(unsigned_int)?

Regards

AndrewR