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
- Host: GitHub
- URL: https://github.com/dmachard/push-buttons
- Owner: dmachard
- License: mit
- Created: 2017-09-17T07:51:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-17T19:34:27.000Z (almost 9 years ago)
- Last Synced: 2025-08-23T03:44:05.969Z (10 months ago)
- Topics: esp8266, iot
- Language: C++
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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