gps and pwm working