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

Search:

Type: Posts; User: vmstanford

Search: Search took 0.00 seconds.

  1. luni, Thank you very much for your thoughtful...

    luni,

    Thank you very much for your thoughtful help, code, and suggestions. I now have a program that is working flawlessly, and you definitely helped get it working. Lots of food for thought in...
  2. First, thank you for you kind assistance. The...

    First, thank you for you kind assistance. The Teensy community is impressively helpful and vital. It is a treat to find a community like this. So thanks again.

    As to the asynchronous I/O if...
  3. Additional follow-up: Just ran on Big Mac for...

    Additional follow-up: Just ran on Big Mac for over an hour with
    1. Delay loop based on Serial.availableForWrite was less than delay(5), and
    2. MICRO_SECONDS_PER_SAMP = 1
    Running without crashes. ...
  4. First, thanks all for looking at this. Some...

    First, thanks all for looking at this.

    Some key points:

    1. millis() won't work since I want to run at 100kHz. MICRO_SECONDS_PER_SAMP = 1000 was just to get it to run at all. I want to...
  5. Thanks defragster! lengthening the delay in the...

    Thanks defragster! lengthening the delay in the Loop from 1 to 25 or 50 solves the crash problem at a 1kHz IntervalTimer frequency.

    while(Serial.availableForWrite()) {
    delay(1);
    }

    I have...
  6. Teensy 3.6 & 3.5 - IntervalTimer sketch crashes after thousands of activations

    Using IntervalTimer to try and read ADC and write DAC on a regular interval (1kHz in this test). Step 1 is to simply gather time tags in an array. micros() failed earlier and I read where micros()...
Results 1 to 6 of 7