the diagram shows how to wire up an electronic device