Hacker News new | ask | show | jobs
by vvoid 877 days ago
Yes, it is real time, but due to interrupts you have to manage critical sections with cli() and sei() and your time base is a 16.000 MHz crystal.

Most instructions for ATmega and ATtiny execute in 1 clock cycle so writing deterministic, time-critical code is straightforward.

1 comments

Thanks for the tip to turn off interrupts when working with precise timing!