I'm a linguist but a mechanical keyboard enthusiast part of me found this video interesting ❤
@atharvavadeyar51574 ай бұрын
So is the only way to get the intersection value to set each Y value to high and see which X values respond? Or is there any other way to do it other than polling?
@codemercenaries97154 ай бұрын
Actually typically the X lines are pulled high by resistors and then the scanning process pulls down one of the Y lines and checks if there is a reaction on any X line. If you pull down more than one Y line at a time you can not identify the actual position that is pressed.
@atharvavadeyar51574 ай бұрын
@@codemercenaries9715 also, why does the circuit use pull up resistors and not pull down? Why define a pressed key as a logical 0 instead of logical 1?
@codemercenaries97154 ай бұрын
Drivers that pull to ground (open collector or open drain) are more efficient and simpler to implement in silicon than drivers that pull up. That is why many digital signals are active low and use pull ups for the non active state. And inverting the logical state afterwards is a no-brainer.