What is the best way to drive a 4x4 keypad?
Hello,
What is the best way to drive a 4x4 keypad, taking in account power consumption and MCU life expectancy?
Option 1: Continuous scan of columns and read rows.
Option 2: Like option 1, but including delays (0.01 s) to reduce MCU stress.
Option 3: Leave all columns to high or low level and use an EXTI for every row. In the EXTI function, scan columns one only time to see the pressed key.
Or doesn't matter and can use any option?. Looking technical data, the main thing to have in account for power consumption is the clock frequency.
Now using nucleo-F446RE, and when the project is finished, I will migrate to other MCU
Thanks
