pwm fails beuatifully -- check up/downsample functionality