MyTim->setMode(channel, TIMER_OUTPUT_COMPARE_PWM1, pin);//MyTim->setPrescaleFactor(8); // Due to setOverflow with MICROSEC_FORMAT, prescaler will be computed automatically based on timer input clockMyTim->setOv