BS2+Seetron''s G12032 graphical LCD+Pak6
Hi John,
Why $05? The Mouse Status command is $E9. This sends 3 status bytes back
and resets the movement counters. The first byte is bit mapped:
Bit 7 - 0
Bit 6 - Mode indicator
Bit 5 - Enable
Bit 4 - Scaling
Bit 3 - 0
Bit 2 - Left button
Bit 1 - Mid button
Bit 0 - Right button
Byte 2 - resolution
Byte 3 - sample rate
Be sure to escape the $E9 so the PAK-VI will pass it through.
Al Williams
AWC
* Control 8 servos at once
http://www.al-williams.com/awce/pak8.htm
>
Original Message
> From: John Leung [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=WoQH9WDhHz4-VIQc0LjBsfyfsqBsJ5g3wKocqzFj_KPvDvxfZnCDrcARCJsEibViuLgsZ6KDV_43yecjsVeOZNt5]jleung00@n...[/url
> Sent: Thursday, November 29, 2001 4:32 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: BS2+Seetron's G12032 graphical LCD+Pak6
>
>
> Dear Sirs
>
> I am working on a project for fun. The aim is to connect a
> BS2, G12032, & a Pak 6 for interfacing a PS2 mouse. I want to
> work out a simple drawing board, that use the LCD for
> graphical interface, and the mouse for "pen". Of course, this
> is jsut a first version so the screen is small, low speed...
>
> What I have is the components as mentioned, and two documents
> from Al-William's October 2001 project, and an archived
> document in Nuts&Volts about interfacing a SX to mouse.
>
> Problem: I want to get status from the mouse. I used the
> command code $05 but the Pak6 doesn't seem to work with it. I
> wonder if I need to use some custom code to get a mouse status.
>
> Any body has an idea?
>
> John
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
> Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
Why $05? The Mouse Status command is $E9. This sends 3 status bytes back
and resets the movement counters. The first byte is bit mapped:
Bit 7 - 0
Bit 6 - Mode indicator
Bit 5 - Enable
Bit 4 - Scaling
Bit 3 - 0
Bit 2 - Left button
Bit 1 - Mid button
Bit 0 - Right button
Byte 2 - resolution
Byte 3 - sample rate
Be sure to escape the $E9 so the PAK-VI will pass it through.
Al Williams
AWC
* Control 8 servos at once
http://www.al-williams.com/awce/pak8.htm
>
Original Message
> From: John Leung [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=WoQH9WDhHz4-VIQc0LjBsfyfsqBsJ5g3wKocqzFj_KPvDvxfZnCDrcARCJsEibViuLgsZ6KDV_43yecjsVeOZNt5]jleung00@n...[/url
> Sent: Thursday, November 29, 2001 4:32 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Re: BS2+Seetron's G12032 graphical LCD+Pak6
>
>
> Dear Sirs
>
> I am working on a project for fun. The aim is to connect a
> BS2, G12032, & a Pak 6 for interfacing a PS2 mouse. I want to
> work out a simple drawing board, that use the LCD for
> graphical interface, and the mouse for "pen". Of course, this
> is jsut a first version so the screen is small, low speed...
>
> What I have is the components as mentioned, and two documents
> from Al-William's October 2001 project, and an archived
> document in Nuts&Volts about interfacing a SX to mouse.
>
> Problem: I want to get status from the mouse. I used the
> command code $05 but the Pak6 doesn't seem to work with it. I
> wonder if I need to use some custom code to get a mouse status.
>
> Any body has an idea?
>
> John
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
> Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>