How to calculate the distance of mouse x y

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I only use  CY7C63813,didn't  have  SPI chip.Move the track ball.Light pulses into the CY7C63813 by IO pin.

The direction of the motion is calculated by different pulses.The  difficult is  how to calculate the distance???

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Lee,

Please refer to the below link for example implementation of mouse using encore-II.

http://www.cypress.com/file/114926

Best regards,

Srinath S

View solution in original post

0 Likes
4 Replies
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Lee,

Please refer to the below link for example implementation of mouse using encore-II.

http://www.cypress.com/file/114926

Best regards,

Srinath S

0 Likes
Anonymous
Not applicable

Hi srnt

    I had  the reference designs CY4623(mouse depend on CY7C63813)。Can you tell me the  reference designs of  CY7C63743 ??

0 Likes

Hello Lee Leko,

Please refer to the CY4601 reference design from the below link.

http://www.cypress.com/comment/48556

Best regards,

Srinath S

0 Likes
Anonymous
Not applicable

Hi srnt,

Do you known trackball mouse,I just want to use CY7C63813 to do this.but i didn't have sample code.Can you tell me where i can get trackball mouse sample code.

0 Likes