Hi there,
I'm messing around with a 16F877A.
Generally speaking, out of the two methods of scanning a matrix of keys (rows and columns) after sensing an interrupt versus using a timer based interrupt to periodically scan state changes on inputs which is the most efficient? I only need four keys so between these two methods I don't think I'll save any pins.
I know there is a multitude of different ways to do this, some very exotic and requiring few pins but as im beginner to moderate with skills I only would consider these two.
Any thougts would be much appreciated.
I'm messing around with a 16F877A.
Generally speaking, out of the two methods of scanning a matrix of keys (rows and columns) after sensing an interrupt versus using a timer based interrupt to periodically scan state changes on inputs which is the most efficient? I only need four keys so between these two methods I don't think I'll save any pins.
I know there is a multitude of different ways to do this, some very exotic and requiring few pins but as im beginner to moderate with skills I only would consider these two.
Any thougts would be much appreciated.