Go Down

Topic: Pause when holding down a key (Read 601 times) previous topic - next topic


I'm working on controlling a robot for an electrical engineering course, and I'm communicating to the robot via bluetooth and use W, A, S, D to move the bot.  The issue I'm running into is when I hold down the W key to move the bot forward, I keep getting a pause in motion from the delay that the keyboard has when it's separating a single key press from a continuous key press.  As I'm sure this is a very common issue does anyone have any effective methods for counteracting this?

edit: I do my programming in C and I'm using the Arduino MEGA board for the project.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131