Theory: Reading analog sensors and using PWM for control. - Robodemy