You may want to consider employing an opto isolator ic between your function generator output and your Teensy input if you are worried about frying your microcontroller.
I have an experimental bent.
I am currently trying to expose the tachyon field (replace with quantum field, zero point or whatever term is currently your favorite). Also, currently trying to use a longitudinal wavelength in place of a conductor to reach the ionosphere and tap its electrical...