[MERGED] Detecting a TTL signal and writing out output of 400 khz

This topic has been merged into Frequency Multiplication..