-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What does -1, 1, 2 mean? #7
Comments
Allen, I haven't touched that lib since 2009 :/ but here are some resources that Good overview of how the ps2 mouse communication works http://www.computer- My lib is used in this book for a couple projects Cheers, On Sat, Aug 13, 2016 at 4:16 PM, alchle notifications@github.com wrote:
|
I'd check out the PRs and Forks, I think there are some more recent updates On Sat, Aug 13, 2016 at 4:28 PM, Kristopher Chambers <
|
Thank you Kris for the reply. I'll read through the articles and see what I an learn. -Allen On 8/13/2016 4:29 PM, Kris Chambers wrote: I haven't touched that lib since 2009 :/ but here are some resources that Good overview of how the ps2 mouse communication works http://www.computer- My lib is used in this book for a couple projects Cheers, On Sat, Aug 13, 2016 at 4:16 PM, alchle notifications@github.commailto:notifications@github.com wrote:
— |
Kristopher,
This looks very promising for me to detect mouse speed. I am working on a project for my wife who wants to have constant stitch length when sewing quilts. The faster she moves the quilt the longer the distance between stitches, and the slower she moves it the closer they are together. She wants equal distance no matter has fast she is moving the quilt. I figured out how to control the needle's stitch speed on the sewing machine with a digital potentiometer but need to transfer the speed at which she is moving the quilt to the arduino in order to control the needle speed (potentiometer).
What does the -1, 1, 2 mean in the output?
I've tried to calculate speed by sqrt(abs(x)_abs(x) + abs(y)_abs(y))
with x=data[1]
with y=data[2]
But the velocities are not matching how fast I am moving the mouse.
Any help would be appreciated. Thanks
-Allen
The text was updated successfully, but these errors were encountered: