An open API service indexing awesome lists of open source software.

https://github.com/dmachard/push-buttons

Push buttons library for arduino and esp8266 devices
https://github.com/dmachard/push-buttons

esp8266 iot

Last synced: 3 months ago
JSON representation

Push buttons library for arduino and esp8266 devices

Awesome Lists containing this project

README

          

# Push buttons library
Push buttons library for arduino and esp8266 devices.

## Features

- Callback functions on click events for 4 buttons
- Software debouncing
- Interrupts support

## Tested on hardware

- Arduino Uno
- Wemos D1 R2

## Wiring

The wiring for ESP8266 can be as follows:

- GND --> Button 1 --> D2 (In Pull UP mode)
- GND --> Button 2 --> D3 (In Pull UP mode)

## Sample code

Read the *.ino file