I am an undergraduate student working on an individual project to update an experiment from Teensy 3.2 to 4.0 in light of the chip shortage. However, this has been displaying some difficulties.
The goal of the lab is to be able to do both frequency and interval analysis on the number of photons that are causing an avalanche-like reaction in the photon. I am able to get the lab to work perfectly with the 3.2, but when I sub it in for the 4.0 a couple things change. First, it stop registering any data. Then, for the frequency analysis, it writes that it is checking the frequency for every one unit time and not every 1000 unit time like the code dictates. I'll link the code and the data from both the 3.2 and 4.0 that I am acquiring, and I would greatly appreciate any insight people can provide as to what essential differences I am oversighting.
- (hopefully this image shows) Image of data as it is supposed to look captured by the 3.2.
- Image of data that is currently captured by the 4.0.
-Link to code I am currently using.