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

Search:

Type: Posts; User: NuttyMonk

Search: Search took 0.00 seconds.

  1. Ah, now that works well. Thanks joe. Getting...

    Ah, now that works well. Thanks joe.

    Getting very accurate times now.
  2. lol. Yup, there is good support on this forum. ...

    lol. Yup, there is good support on this forum.

    I was getting microsecond accuracy when i was using elapsedMicros before. I'm not sure if i've used it for timing testing since i moved to the...
  3. So, how does millis() and micros() get their...

    So, how does millis() and micros() get their timestamps? do they use timers?

    I ask because i am using elapsedMicros to test the timing of intervalTimer and it's jumping about between 124,000...
  4. I can't find anywhere in the elapsedMillis...

    I can't find anywhere in the elapsedMillis documentation page on PJRC that states what timers it uses.

    Does anyone know?

    Cheers

    NM
  5. OK. So it's a 24MHz clock. That gives it a tick...

    OK. So it's a 24MHz clock. That gives it a tick time of 41.67 nanoseconds and the accuracy seems to be within +-1 microsecond. Very nice.

    The last question is can i have 4 of them running at...
  6. I've just done a quick test with the...

    I've just done a quick test with the intervalTimer library and it's stable as a rock. I've used the code below and i'm checking how long it takes for each step using elapsedMicros and it's showing...
  7. I am running 4 clock outputs from the Teensy 4.0....

    I am running 4 clock outputs from the Teensy 4.0. They are for an audio project as a clock source for sequencing purposes. That means i need 4 independent timers. The PIT timers would be good to...
  8. The minimum time interval is about 3.7...

    The minimum time interval is about 3.7 milliseconds, the maximum is about 60 seconds, at least for the moment. I also want the clock pulses coming out of the project to be as jitter-free and stable...
  9. I was just getting the timers and interrupts...

    I was just getting the timers and interrupts working and then i realised i don't know how to decide when the 3 cascaded timer channels have reached the correct count.



    I am currently using...
  10. Teensy 4.0 Timers and Interrupts using registers

    Hi all,

    i'm wanting to do 48-bit timing on a Teensy 4.0. The only way i can do that is to use the QUADTimers and cascade them. After testing the QUADTimers i was able to determine that they run...
Results 1 to 10 of 10