Skip to content

kkeonline/arduino-onebutton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sample code to demo how to use one button for input

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages