Hi,
I want to connect the PC/AT keyboard to PIC16f877a.
will RS232 will work with it?? and how to know its baud rate?
I want to connect the PC/AT keyboard to PIC16f877a.
will RS232 will work with it?? and how to know its baud rate?
This is the best link I can find...
MCU: PIC18F452
Language: C
schematics: PIC connected to a 7-segment LED (included)
software: included
description: included
http://www.pyroelectro.com/tutorials/ps2_keyboard_interface/index.html
Allen
scan_code_buf[0] = scan_code_buf[1];
scan_code_buf[1] = scan_code_buf[2];
scan_code_buf[2] = scan_code_buf[3];
scan_code_buf[3] = scan_code_buf[4];
scan_code_buf[4] = scan_code_buf[5];
scan_code_buf[5] = scan_code_buf[6];
scan_code_buf[6] = scan_code_buf[7];
Here it is i searched for 0xFB it is used for 0xfb Set a single key to repeat.Where did you get this code Ritesh? Some link to the site you took this code from would be useful. As I doubt you have written this by your self
while(1)
{ ch=Scan_Data;
Hserout( ch);
__delay_ms(1000);
ch=0;
Capture_init();//Initialise once again for next capture
}
HI,