Hi, I want to use an old mouse to count the turns of a motor. I will only use the photo transistor and IR emiter . How can I connect these two electronic devices to my MCU? and I need some asm code for implementation. Regards, Nuri Erginer -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.