replace analogWrite with MOSFET_PWM so we can log it