Wrote code for outputting a given voltage value using PWM output pin 6