turn_indicator_code

This is the Arduino code for Turn Indicator.

Code

"A Class with one instance is like a group with one person. " -> Use a namespace instead classes won't allow pointers and make anonymous function usage difficult

References

Libraries

Button debounce & more was initially managed manually as with all previous libraries, but I'm now old enough to trust other peoples work.

OneButton was the winner in this case.