Trimpot and Switches (6)
A trimpot is basically a resistor that you can vary the resistance of. This is useful for controlling output in an analog manner. The push switches only turn on for the length of time they are pressed. The switches are connected across adjacent legs, which is laid out in the wiring diagram below. Figure 1. Wiring schematic for Button A switch is useful for sending a single HIGH or LOW pulse to a pin. To ensure that the pin is always at HIGH or LOW (so that our pulse can be detected), we want to use a pull down or pull up resistor such that when the switch is released, the pin is at HIGH or LOW. ...