How to know if a 125kHz carrier is generated?

Before you post code, delete all the commented out code lines and make sure the comments that remain are correct.

What you have posted is a terrible mess, and I'm not going to waste my time trying to figure it out.