Changed mode for timer B. Now freq is 10 kHz