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

Declaration of a pull-up resistor circuit connected to the pin. More...

#include <Circuits.h>

+ Inheritance diagram for able::PullupResistorCircuit:

Public Types

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

Detailed Description

Declaration of a pull-up resistor circuit connected to the pin.

Pull-up resistors "pull" the pin signal HIGH when the button is not pressed. When a button is pressed, the signal changes to LOW as the button is connected to ground. Using internal pull-up resistors in Arduino microcontrollers allows a button to be connected to ground without any additional resistors. This makes them easy to connect up and use.

Definition at line 60 of file Circuits.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 65 of file Circuits.h.


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