script for an attiny having PWM to drive a servo, LDR and speaker