We have a 18X board and we are trying to do a pulse width modulation of some vibration motors by bit-banging outputs 0 to 5. We need to control each motor individually, so we can't just use output 3 and the built-in pwmout command. To determine how long each motor should be on takes a certain fixed amount of time every few cycles, during which we can't continue the bit-banging. As a result, the motors pulse. Is there anything we can do to make a smoother PWM without using more microcontrollers? Thanks.