initPWM now sets pin to OUTPUT automatically