changing parameter 'pin' to 'value' in function servoWrite() and changed parameter to be passed as string to the serival line