Shop OBEX P1 Docs P2 Docs Learn Events
BS2+Seetron''s G12032 graphical LCD+Pak6 + mouse to capture mouse move — Parallax Forums

BS2+Seetron''s G12032 graphical LCD+Pak6 + mouse to capture mouse move

ArchiverArchiver Posts: 46,084
edited 2001-11-30 15:54 in General Discussion
Thank you Al William

In fact I am just doing some minor modification to the code at
...pak6mou.htm. So it is in remote mode already.When i use "debug" in stamp
programmer, i didn't see every point neither. So, I think the line ploting
function built-in Seetron's graphical LCD will work better.
I will try and see and look forward to any suggestion.

John


Original Message
From: Al Williams <alw@a...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, November 30, 2001 8:08 PM
Subject: RE: [noparse][[/noparse]basicstamps] Re: BS2+Seetron's G12032 graphical LCD+Pak6 +
mouse to capture mouse move


> What I would suggest is to put the mouse in remote mode. Then the mouse
> remembers a cumulative reading until you ask for it.
>
> Keep in mind the mouse has a sampling rate and it is possible to overrun
> that rate even on a PC. Try writing a DOS or Windows program that plots
> each point you get from the mouse and then move the mouse rapidly across
> the screen. You won't get every point. So if you are moving in the X
> axis you might get: (100,50) (110,50) (130,50). The slower you move the
> mouse the more points you get.
>
> In remote mode, the movement is relative. So when you ask for a report,
> the result is (0,0) if the mouse hasn't moved sine last time you asked.
> This is the method used in this program:
> http://www.al-williams.com/awce/pak6mou.htm
>
> Good luck!
>
> Al Williams
> AWC


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.295 / Virus Database: 159 - Release Date: 11/1/01
Sign In or Register to comment.