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

Search:

Type: Posts; User: tarnerich

Search: Search took 0.00 seconds.

  1. Thank you for that reference. Submitted with...

    Thank you for that reference.

    Submitted with respect to the author of the ADC library, here is a working update of adc_pdb:


    /* Example for triggering the ADC with PDB
    * Valid for Teensy...
  2. adc->setConversionSpeed(ADC_VERY_LOW_SPEED, ADC_1) isn't working for me anymore

    The code lines in question can be found in the examples adc_adb and analogRead.

    Both of these lines fail for me under Arduino 1.8.5 and Teensyduino 1.41:


    adc_pdb:45: error: 'VERY_LOW_SPEED'...
  3. Well, yes, and indeed I have already applied that...

    Well, yes, and indeed I have already applied that exact change to my own code, which had been perfectly able to be compiled several dozens of times... that is, until I updated Teensyduino a few days...
  4. ADC library contents

    This is what is in place here for ADC after installing Teensyduino 1.41:

    12890
  5. [QUOTE=WMXZ;167659]remove simply the leading ADC_...

    [QUOTE=WMXZ;167659]remove simply the leading ADC_
    according to ADC_Module.h
    [CODE]// Settings for the power/speed of conversions/sampling


    adc_pdb:45: error: 'VERY_LOW_SPEED' was not declared...
  6. OS version

    Forgot to mention: Windows 7 64-bit on my PC.
  7. Something is not working in my installation of the ADC library

    This issue was encountered in Teensyduino 1.41 in combination with Arduino 1.8.5, both freshly installed yesterday. The chip is a Teensy 3.5.

    The example code I'm trying to compile are the...
  8. I made the same error when prototyping a project...

    I made the same error when prototyping a project recently. It was my first use of reading analog voltages on a Teensy, and to top that off it was a direct connection to an unfamiliar device whose...
  9. Replies
    2
    Views
    641

    Got it, thanks!

    Got it, thanks!
  10. Replies
    2
    Views
    641

    Teensy 3.5 forgets the time of day

    Here's the source code, a modification of an Example:

    /*
    * TimeRTC.pde
    * example code illustrating Time library with Real Time Clock.
    *
    */

    #include <TimeLib.h>
  11. I was thinking of the lines going to pins 7 and 8...

    I was thinking of the lines going to pins 7 and 8 but not the other four.

    I like the whole idea you're working on, that presentation would have saved me some time already. Probably still will at...
  12. I have an extremely basic question: Why do you...

    I have an extremely basic question: Why do you mark the pins for Serial3 differently than for Serial1 or Serial2? Are the three UART modules not fully equivalent?
  13. Replies
    6
    Views
    2,337

    There is something bigger to tackle first. The...

    There is something bigger to tackle first. The measurement function looks at the time it takes for one complete cycle which is 10 milliseconds for 100 Hz. It probably looks for edge transitions in...
  14. Replies
    5
    Views
    2,486

    Now I'm getting somewhere

    Paul, thanks again for the suggestion to try a different card. It panned out really well and I think I found my solution.

    This chart was collected by running the same code on a SanDisk 8GB HC-I...
  15. Replies
    5
    Views
    2,486

    Excellent idea

    I have only one micro card on hand at the moment, a 4GB Kingston Class 4 which I selected entirely by price some time ago. I'll get a Sandisk or a Lexar to try next.

    Would the the SD speed classes...
  16. Replies
    5
    Views
    2,486

    Oddities in Timing of SD Card writes

    I'm experiencing occasional slow writes to an SD card which are going to interfere with the desired timing in a sensor logging project. It's doing fine on average but some writes are nearly 10X...
  17. Fixed!

    Things are back on track now. Simply moving the extraneous SD library copies out of the Arduino directory structure didn't turn out to be enough. I still don't know what the minimal fix would have...
  18. The SD library that was in place at the time of...

    The SD library that was in place at the time of my compile was most probably the one that is distributed with Arduino 1.0.5. I have also tried the Sdfat library but it gave me a much larger list of...
  19. I'm wondering if I have a library conflict from...

    I'm wondering if I have a library conflict from another source. I'm also using the version of TinyGPS that I copied from the Teensy web page. Here are the lines of code associated with that:
    ...
  20. Can't compile SD card functionality (Teensy 3.1 / TeensyLoader 1.18 / Arduino 1.0.5 )

    I'm porting some code which includes SD card datalogging over to a Teensy 3.1, which has successfully run with Arduino versions Uno R3 and Pro Mini. I've hit some sort of barrier, possibly centered...
Results 1 to 20 of 20