optical mouse microcontroller
hello all:
i want to ask if i can interface usb optical mouse to a pic microcontroller. i want to use the mouse to detect the position of a robot (i want to use it instead of line tracking sensor as it will be faster, as i want to tell the robot the x-y coordinates to go and the optical mouse will increments its x-y registers and send a feedback to the microcontroller which will use this feedback to control the robot's motors)
but i don't know how can i read these registers from the mouse.
so please if anyone can help i will appreciate it so much.