Welcome![Sign In][Sign Up]
Location:
Downloads Other resource
Title: ps2_c51 Download
 Description: Function: implement PC keyboard (p/s2) and 8 single chip microcomputer connection Principle: keyboard clock is connected to p3.2, 8051 external interrupt int0, keyboard data to p1.0 Each keystroke, the keyboard sends pulses to the single chip microcomputer to cause an external interruption, the data has p1.0 to enter a person Return data format: 1 bit start bit (0), 8-bit data bit (press key to identify keys), 1 check bit (odd check) End bit (1) Implementation: put the keyboard back into a buffer (array), and when the button ends, an internal interrupt occurs to process the pressed key Disadvantages: because of the limited capacity of 51 MCU, the buffer can not be opened too large, which can result in the number of keypads that can record the keyboard too little. That's the fault tolerance. But you can't go wrong with a normal keyboard
 Downloaders recently: [More information of uploader microcore]
 To Search: PS2 c++ ps2 PS2 c51
File list (Check if you may need any files):

CodeBus www.codebus.net