I'm using Arduino DUE to capture the TTL pulse and converted it into frequency/s. However, as soon as I connected the ground of the pulse generator to the ground of Arduino. The serial monitor just stop working, it doesn't update any readings anymore. I'm not sure why this happens. Does anyone come across this king of situation before?