a smarter way to write micros()

For those who use arduino before must know the function micros() returns system time in microseconds. AVR based arduinos use TIMER0 in MCU(such as ATMEGA328) to track system time. For cortex arm M0/M3/M4 processor, the most common way is to use systick to count system time. Typically people need sys[……]

Read more