Implemented GPIO PWM and lift function