Keyboard and Mouse with PIC by MikroC
Control keyboard and mouse by PIC is very easy with MikroC , the project can be summarized follows: -
- Link PIC by the keyboard and mouse by PS/2
- I use C0 and C1 to connect the CLK and DATA
- And through the Library of PS/2 in MikroC can control the keyboard
- And by PS2_Mouse.c file can control the mouse
- Used the leds to show my results
- CPU: PIC16F887
- Operating system: Windows 7
- Power source: 5 volts
- Programming language: C++