Go Down

Topic: leonardo micro changing usb polling rate (Read 669 times) previous topic - next topic

joedodo

I want to make a mouse using leonardo or micro. I haven't received any of them, yet. I believe the default polling rate (the rate it reports data to pc via usb) is 125Hz. Is there a way to change  this number?

Robin2

The source code for all of the Arduino libraries is included in the Arduino IDE.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

joedodo

So go to the library of the mouse, and edit with some ide and create a new one for my use? Just as simple as that? I thought it would require some in depth knowledge of the usb protocol. Thanks, will have a look at that.

Robin2

Just as simple as that? I thought it would require some in depth knowledge of the usb protocol.
I have no idea. But it is worth investigating the simple options first.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Paul_KD7HB

So go to the library of the mouse, and edit with some ide and create a new one for my use? Just as simple as that? I thought it would require some in depth knowledge of the usb protocol. Thanks, will have a look at that.
The serial data bytes ride on top of the USB protocol bytes.

Paul

Go Up