Giter Club home page Giter Club logo

buttonking's Introduction

๐Ÿ‘‹ Hey there! I'm TanPitch, a passionate hobbyist exploring the world of coding.

๐ŸŒฑ Self-learned coder with an insatiable curiosity for all things tech.

โ˜• Turning caffeine into code.

Stacks


Top Langs

buttonking's People

Contributors

codacy-badger avatar tanpitch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buttonking's Issues

Button problem

Hello I'm new in Arduino and I would like to ask for a little help.

I want to press the SET button and hold for a while (I just used press here) then I go to the settings menu where with the second CHANGE button I change the value of the X variable upwards by 1 plus the usual if after exceeding the value to zero. The third OK button is used to save the set X value and go to changing the Y value. Similarly, with the CHANGE button, I change the Y value up by 1 as above. Pressing the OK button saves the value of the Y variable and exits the settings menu. At any time, pressing and holding the SET button causes exit from the settings and if it was pressed when setting the X variable, nothing changes, but if it was pressed while setting the Y variable value, the previously set X value changes and the Y value does not.

I can enter the setup page using press SET button but other buttons doesn't work. What am I doing wrong. Could you please help me?

Best Regards,
Grzegorz

Topics marked with will be added

Hi TanPitch,

first: thank you for your good work to provide this button library.

When will the functions promised in the wiki be realized? Is there already a timetable for this?

Thanks a lot and Kind regards, Tom

Advanced ButtonKing

Hi,
I had the problem that the time to detect the click action was too slow.
Therefore I decided to make some changes in your lib.

And here is the Advanced ButtonKing (attached).

New features:

  • supported multiple click actions (more than just 3, theoretically endless :)
  • supported multiple press actions (more than just 3, theoretically endless :)
  • faster (adjustable) click detection (only limited by the debounce delay) if no multiple clicks is used
  • all library functions packed into a single header file
  • examples adapted to the advanced version.

You could update your repository with these files if you find this useful.
Hope that many users will benefit from this.

AdvancedButtonKing.zip

Fastest button, disable double click?

Thanks for the library! super cool. I am making a little terminal emulator with it (mainly because I will want to use the long/short detection). But:
Is there is a way to make it react super fast ignoring the double click?

version 1.2 on Arduino IDE

Is there any way to get the new version 1.2 working in arduino IDE? the new function setPress and setRelease is just what I was looking for, but in version 1.02 that there is for arduino it does not work

Thanks, I love that library

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.