JPDev@programming.dev to Programmer Humor@programming.dev · 1 year agoSleep() at homeprogramming.devimagemessage-square30fedilinkarrow-up1612arrow-down116
arrow-up1596arrow-down1imageSleep() at homeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square30fedilink
minus-squarekevincox@lemmy.mllinkfedilinkarrow-up11·1 year agoI’ve written these cycle-perfect sleep loops before. It gets really complicated if you want to account for time spent in interrupt handlers.
minus-squareaksdb@lemmy.worldlinkfedilinkarrow-up2·1 year agoThankfully I didn’t need high precision realtime. I just needed to wait a few seconds for serial comm.
I’ve written these cycle-perfect sleep loops before.
It gets really complicated if you want to account for time spent in interrupt handlers.
Thankfully I didn’t need high precision realtime. I just needed to wait a few seconds for serial comm.