![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
I have made a program with PIC12C508,that connect with the PS/2 mouse,as you see, there are michinery mouse and phtoelectricity mouse. My program sent the mouse tow orders: one is 0XFF to reset the PS/2 mouse, one is 0XF4 to enable the mouse. However, when the PIC12C508 connect with the machinery moues, the program works, but when I connect the photoelectricity mouse,the program can not receive the mouse's data? Can anyone tell me why? what can I do to make my program to work with photoelectricity mouse??
| |
| |
| | #2 |
|
Machinery mouse = ball mouse? Photoelectricity mouse = optical mouse? The mice might have slightly different PS/2 protocals as far as start-up goes. Keyboards have the same thing, but I can't say much more since I've never really looked into PS/2 mouse protocals. Maybe these can help: http://www.computer-engineering.org/ps2mouse/ http://www.stanford.edu/class/cs140/...ncodes-12.html | |
| |
| | #3 |
|
My english is poor, it is ball mouse and optical mouse. Thanks to dknguyen. I think the program must have to send several commands to make the optical mouse work and send data to the program, but I do not know which commands.
| |
| |
|
| Tags |
| diffrence, machinery, mouse, photoelectricity |
| Thread Tools | |
| Display Modes | |
| |