AbleButtons V0.2.0
Lightweight button library for Arduino.
 
Loading...
Searching...
No Matches
able::PulldownResistorCircuit Class Reference

Declaration of a pulldown resistor circuit connected to the pin. More...

#include <Circuits.h>

+ Inheritance diagram for able::PulldownResistorCircuit:

Public Types

enum  { PIN_MODE = INPUT , BUTTON_PRESSED = HIGH , BUTTON_RELEASED = LOW }
 

Detailed Description

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.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 37 of file Circuits.h.


The documentation for this class was generated from the following file: