Changed the frequency to 50kHz interrupt.