Pages: [1]   Go Down
Author Topic: Pause when holding down a key  (Read 177 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: