Mastering Analog Output with analogWrite() in Arduino