S-01037 Motor control step 1 - implement PWM: 1. added 1st version of PWM wrapper around BB's PWM implementation; 2. replaced min/max definitions with concrete implementations.