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

Search:

Type: Posts; User: ausserirdischesindgesund

Search: Search took 0.00 seconds.

  1. The two forms of interrupt handlers

    There are two different forms of declaring interrupt handlers that I found by googling various tutorials, maybe I am getting terminology and/or concepts mixde up, be kind, I am an interrupts newbie...
  2. Making a sketch with Serial.print() work if something is connected to USB or not

    I am currently working on a Teensy 2.0 Arduino project where I want to either connect the Teensy USB to the computer, or in other scenarios just to a phone Charger (no computer listening to the...
  3. Thanks a lot for this, I had looked at the two...

    Thanks a lot for this, I had looked at the two chapters a bit, but compared to the Atmel timer documentation, it is probably 10 times as much information, and somewhat different terminology again.
    ...
  4. Thanks! I will have a look at that code. Is...

    Thanks! I will have a look at that code.

    Is there a direct equivalent to the 16 bit counters in e.g. the Teensy 2.0 (feeding an input to the T1 pin, counting in CTC mode, comparing to OCR)?
    ...
  5. Thanks, defragster! One of the signals is 1kHz or...

    Thanks, defragster! One of the signals is 1kHz or so, one is 1Hz, maybe later some third signal will be added in the same range.

    And I do not need frequencies, just aggregated totals from the last...
  6. Counting external pulses in counters: Teensy 3.2, Teensy 4.0 or something else?

    I want to count two or three external signals that deliver pulses to the MCU, without ever missing one count.

    Currently I am using a Arduino Mega 2560, but sadly it only has one counter input...
Results 1 to 6 of 6