add default type, set pwm for lpc1347