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
    16
    Views
    681

    What Teensy is in use? This library is included...

    What Teensy is in use? This library is included in TeensyDuino: github.com/nox771/i2c_t3

    But it has not been updated for T_4's. One it's features is an async i2c interface.
  2. Replies
    16
    Views
    681

    You can post issues on the github to the author...

    You can post issues on the github to the author is something could be clarified.

    As noted, the posting was two hours delayed - walked away with it written on an 'interrupting task' :)

    As noted...
  3. Replies
    16
    Views
    681

    Once Threads are enabled - everything is 'a...

    Once Threads are enabled - everything is 'a thread' - including loop, as only one thing can run at a time on the single CPU core.

    AFAIK by default all threads are given the same value for...
  4. Replies
    16
    Views
    681

    If both "A" and "loop" have 10ms timeslices - as...

    If both "A" and "loop" have 10ms timeslices - as noted in p#4 - it will return in 10ms.

    So every 20ms both threads will run once. And in 1 sec, 1000 ms, both will execute 50 times.
  5. Replies
    16
    Views
    681

    The ReadMe does - the sentence after the...

    The ReadMe does - the sentence after the indicated text above:


    Notes on implementation
    Threads take turns on the CPU and are switched by the context_switch() function, written in assembly. This...
  6. Replies
    16
    Views
    681

    The readme might have some answers:...

    The readme might have some answers: github.com/ftrias/TeensyThreads



    Notes on implementation
    Threads take turns on the CPU and are switched by the context_switch() function, written in...
  7. Replies
    16
    Views
    681

    More info on the Threading tool in use would...

    More info on the Threading tool in use would help. TeensyThreads or other?

    With a one second test in loop() the differ in the thread Counter++ could be measured.

    But with delay(1000) in both...
Results 1 to 7 of 7