Implemented part of pwm signal generator thread - end of class