Theory: Controlling external components using digital pins. - Robodemy