added pinModes PWM and Servo