18.11.2014 Views

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7<br />

Figure 7-8. Pinout, truth table, and waveforms for the 74C922 16-key<br />

encoder for matrix-encoded keypads.<br />

• Latches store the last keypress. When you lift your finger from a key, the keypad’s X<br />

and Y lines no longer connect, and there is no way to know that a key was pressed. If<br />

the computer is busy doing something else while the key is pressed, it may not see the<br />

keypress at all. <strong>The</strong> 74C922 takes care of this by latching the data that corresponds to<br />

the last key pressed.<br />

120 <strong>The</strong> <strong>Microcontroller</strong> <strong>Idea</strong> <strong>Book</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!