The simplest control you can use over an electrical device is
digital output. In this case, you would either turn something off, or on. The diagram below is a
digital output controlling an LED:
Digital outputs are often used to control other electrical devices, through transistors or relays.
read more >>