Emulate an approximate voltage out of a pin using PWM.
ar - connected arduino object
pin - pin to write to.
voltage - voltage to emulate with PWM, between 0 - 5.0
a = arduino();
writePWMVoltage(a,'D5',1.0);
See also: arduino, writePWMDutyCycle.
Package: arduino