Well thats it no more forum.
Hi @jdhenckel
welcome to the arduino-forum.
You shot NOT ask your own questions in somebody elses thread.
You should open your own thread.
Click on the flag-symbol below your post and send a message to the moderator
suggest a matching titel for the moderator and
that she/he should MOVE your question and my answer to your own thread.
very general question => very general answer: google arduino switch / arduino button
I haven't done much just with switches / buttons. In almost all cases the code for switches /( buttons is part of a bigger project.
There are many button-libraries out there which you will find by
googling: "github arduino button "
some code in WOKWI simulations
learn adadfruit is a good source for all kinds of projects.
general basics about programming arduinos
url=Arduino Programming Course Contents]Arduino Programming Course [/url]
It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.
best regards Stefan
Hello jdh-avl77
Welcome to the worldbest Arduino forum ever.
Don't hijack this thread.
Open a new topic with all the necessary information about your project and you will be helped.
Have a nice day and enjoy coding in C++.
Thread split. Please do not hijack.
Please look at the below Wokwi simulator for a button debounce with delayed and instant modes,
- Button debounce with Delayed Mode
The delayed mode responds to the signal to update the output when input is stable for the fully qualified debounce period.
- Button debounce with Instant Mode
The instant mode provides an instant response to the first edge on the signal to update the output and wait for the input to stable for the fully qualified debounce period for the next update.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.