Using 8255 port to form matrix keyboard circuit
Source: InternetPublisher:消失的歌 Keywords: Matrix keyboard keyboard circuit BSP Updated: 2020/12/18
Shown is a 4X8 matrix keyboard configured with 8255j port . At dawn, the PA port of 8255 is initialized to the output working mode and
used as a column line. The PC port is initialized to the input working mode and used as a row line. Connect a button at the intersection of each row line and column line,
and then give each Set a number [key value] for each button. You can define some keys as function keys and other keys as numeric keys as
needed
.
- How do pull-up resistors work? How do I choose a pull-up resistor value?
- Symbol/working principle/type/characteristics/application scenarios of depletion-mode MOSFET
- How does sand become chips?
- Capacitance detection circuit configuration, how to deal with low frequency and high frequency noise?
- How do you calculate the value of capacitors in series? Why use capacitors in series?
- What is power factor and three ways to improve it
- Share an interesting LED decoration project
- Causes of PCB deformation How to prevent circuit board bending and warping
- How to build a drag racing timer circuit using a 7-segment display and discrete components
- How does RCCB work?
- Motor overcurrent protection circuit
- Pulse therapy circuit
- Audio function generator composed of ICL8038
- Schiller oscillator circuit
- Broadband high frequency power amplifier circuit
- OTL low frequency power amplifier circuit
- Voltage-controlled voltage source second-order active low-pass filter circuit
- superheterodyne radio circuit
- Color display circuit
- Home appliance repair signal generator circuit