Thanks for this, it works great for me and is going into a telecope eq mount where the RA and DEC positions will be displayed on two faint red led readouts in degrees and minutes. I couldn't get any of the other PS/2 libraries out there to work for me. It is a pity the routine doesn't display the mouse wheel position (as I could do with the third rot input for fine tuning). I looked into it and it seems that the scroll wheel sends a fourth byte? I tried modifying the code to read another byte but that just led to chaos! I need to read up more on this. I'll probably find another ball mouse somewhere and use it on different pins. Never knew mice were this smart, that they send the amount of movement since the last request. Very handy and a great vid, it has really helped me with my ongoing project.
Thanks cool, thanks for that. The only comment I have is can’t you just take the 9th bit to set an upper byte to 0xFF if it’s set and 0x00 if it’s not? Then you have a 16 bit signed int that you can sum up without changing the sign as it’s already negative or positive?
this is so cool! I tried the procedure and used the code provided, but when I plug in the arduino and restart it, I don't get anything on the serial monitor. is anyone else having the same issue?