stop() Stop the oscillator. oscillatortimer.stop() Your function stops being called until the oscillator is started again.