Time

last modified: October 23, 2025

Real Time Counter and Integer Overflow

Posted on 2019-07-10β€” C++, Improve your Code, Learn

I walk you through how real-time counters work, why integer overflow is usually harmless when you treat time as relative, and practical, Arduino-ready comparisons and code examples to avoid timing mistakes. If you want concrete patterns and simple tests, read the full post.

Read this post

How to Debug Time Critical Code using an Oscilloscope

Posted on 2014-11-13β€” How and Why

I often use a simple oscilloscope trick to debug time-critical code: toggle an I/O line before and after critical sections and observe interrupt timing and execution width. It’s low-effort and revealing β€” read on for practical steps, examples, and tips to measure and reason about your timing issues.

Read this post