@JPDev to Programmer Humor • 8 months agoSleep() at homeimagemessage-square32arrow-up1612arrow-down116
minus-square@[email protected]linkfedilink11•8 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@[email protected]linkfedilink2•8 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.