Go Down

Topic: Pause when holding down a key (Read 977 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