Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kkeonline/arduino-onebutton

Sample code to demo how to use one button for input
https://github.com/kkeonline/arduino-onebutton

Last synced: 15 days ago
JSON representation

Sample code to demo how to use one button for input

Awesome Lists containing this project

README

        

# arduino-onebutton
Sample code using onebutton lib to demo how to use one button for input
The project using OLED 128x32 I2C for display
Project show Random number 1-6 like a dice, 2 dices, 3 dices by setting mode

Playing with arduino, how to handle switch short press and long press
long press to switch between working and setting mode.

See Video here https://www.youtube.com/watch?v=XoLlGbgHw9M

Project using
1. Arduino board (in vdo using arduino pro mini)
2. OLED I2C 128x32 (SSD1306)
3. Push Switch