Hello everybody,
I'm using Teensy 3.6, Arduino IDE.
First of all, A coincidence happens when detecting pulses from two different sources, in a time window of let's say 5 ns, we see a rising edge on both pulse sources.
I am trying to count coincidences coming from two different pulse sources, my main question is, can I get to count pulses coming of two different sources using Teensy 3.6?
I started using Teensy recently so I'm using the simplest code to count pulses but it is valid for only one pulse source:
Any suggestions?
Thanks
I'm using Teensy 3.6, Arduino IDE.
First of all, A coincidence happens when detecting pulses from two different sources, in a time window of let's say 5 ns, we see a rising edge on both pulse sources.
I am trying to count coincidences coming from two different pulse sources, my main question is, can I get to count pulses coming of two different sources using Teensy 3.6?
I started using Teensy recently so I'm using the simplest code to count pulses but it is valid for only one pulse source:
Code:
#include <FreqCount.h>
void setup() {
Serial.begin(57600);
FreqCount.begin(1000);
}
void loop() {
if (FreqCount.available()) {
unsigned long count = FreqCount.read();
Serial.println(count);
}
}
Any suggestions?
Thanks