@JPDev@programming.dev to Programmer Humor@programming.dev • 5 months agoSleep() at homeprogramming.devimagemessage-square32fedilinkarrow-up1612
arrow-up1612imageSleep() at homeprogramming.dev@JPDev@programming.dev to Programmer Humor@programming.dev • 5 months agomessage-square32fedilink
minus-square@kevincox@lemmy.mllinkfedilink11•5 months 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-square@aksdb@lemmy.worldlinkfedilink2•5 months 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.