introduce a delay after enabling pwm before device driver files are available
Make WriteStringToFile public
improve servo error handling