I need some help dealing with buttons.
I am building a rtc with multiplexed display and would like to use a 5 position button (Parallax in particular)
When power is applied the clock would come on and display the stored time on the RTC. I would like to use the button to change the stored time on the rtc.
Holding the button down for two seconds would allow you to set the time.
My question is what is the best way to poll for button presses and and what is the best way to monitor for button press duration also what is the best way to deal with multiple buttons?
Any help or insight will be greatly appreciated,