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

Search:

Type: Posts; User: Pedvide

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    24,442

    As christoph says, at no point in the code you...

    As christoph says, at no point in the code you start the ADC!
    At the end of the setupADC(pin) you have to set the flag for continuous operation (I don't remember now in which register it is) and...
  2. Replies
    18
    Views
    24,442

    For the Teensy 3.0, using continuous mode I get:...

    For the Teensy 3.0, using continuous mode I get:
    ADC resolution Measurement frequency Num. averages
    16 bits 325.500 kHz 1
    12 bits 345.620 kHz 1
    10 bits 364.230 kHz 1
    8 bits 772.274 kHz 1

    but...
Results 1 to 2 of 2