Keyboard and Mouse with PIC by MikroC

Control keyboard and mouse by PIC is very easy with MikroC , the project can be summarized follows: -

  1. Link PIC by the keyboard and mouse by PS/2
  2. I use C0 and C1  to connect the CLK and DATA
  3. And through the Library of PS/2 in MikroC can control the keyboard
  4. And by PS2_Mouse.c file can control the mouse
  5. Used the leds to show my results

  • CPU: PIC16F887
  • Operating system: Windows 7
  • Power source: 5 volts
  • Programming language: C++

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/keyboard-and-mouse-with-pic-by-mikroc

Nice work.

Nice work.

thank you for reply

thank you for reply