Declaration of a pulldown resistor circuit connected to the pin. More...
#include <Circuits.h>
Public Types | |
enum | { PIN_MODE = INPUT , BUTTON_PRESSED = HIGH , BUTTON_RELEASED = LOW } |
Declaration of a pulldown resistor circuit connected to the pin.
Pulldown resistors "pull" the pin signal LOW when the button is not pressed. When a button is pressed, the signal changes to HIGH as the button is connected to a +ve voltage supply, allowing the current to flow to the pin.
Definition at line 32 of file Circuits.h.
anonymous enum |
Definition at line 37 of file Circuits.h.