Get rid of the ugly digitalPinHasPWM hack.