Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    688

    Below is the code that resolves micros() given...

    Below is the code that resolves micros() given the last milli second timer update, and the cycle count stored then.

    If the math were bumped to all 64 bit and the scaling to nano adjusted from...
  2. Replies
    7
    Views
    688

    See this:...

    See this: github.com/TeensyUser/doc/wiki/Implementing-a-high-resolution-Teensy-clock

    Teensy has a processor clock based count of cycles: ARM_DWT_CYCCNT

    At 600 MHz it overflows 32 bits after 7+...
Results 1 to 2 of 2