In this tutorial I explain you how you program a state change functionality. "State change detection" is a method to see when a button is pressed or released. You can use it to fire a different action each press of a button.
For example the "Play/Pause" button on a cd-player behaves like that. The first press is play, the next press is pause, the next play again etc. Depending the state the action is different ( play to pause, pause to play ).
Level : Beginner with Arduino. ( Basic knowledge of programming principles like if/else and variables ).
Download the code examples from: https://www.kasperkamperman.com/blog/...
In questa pagina del sito puoi guardare il video online Arduino Programming - State change Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kasper 19 aprile 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 22,379 volte e gli è piaciuto like spettatori. Buona visione!