In this video we examine how to implement an auto-increment switch. The basic idea is that, instead repeatedly pushing a button to increment a value, the user merely needs to keep the button depressed and the value will be incremented (or decremented) automatically. This example is based on the round-robin switch (non-interrupt version). Make sure that you watch that video before this one for best results.
Text Reference (Embedded Controllers Using C and Arduino): Chapter 24, section 2. (Laboratory Manual): Exercise 14.
My free texts and lab manuals are available for download at my college web site https://www.mvcc.edu/jfiore and at my personal site http://www.dissidents.com
Inexpensive print and kindle copies are available at Amazon https://www.amazon.com/author/jimfiore
If you like my texts and videos, and would like to help defray the costs of making and maintaining them, consider making a modest donation at https://www.buymeacoffee.com/Professo...