bmweeny
FabulaTech Forum Newbie
Posts: 2
|
|
using left / right keys to control device
on: Feb 2nd, 2010, 6:45am |
Quote Modify
|
Hi all. Just purchased this excellent piece of kit and almost have a fully functioning program, just one small hurdle..! Can anyone tell me how or what i should use to send either a "steady" (every second)L or R command through the serial port when a user holds down either the L or R key? At the moment i'm sending multiple keystrokes when i hold down either key, but ideally i just want a character sent every second. I'm using an access database and tried the "on timer" event with various textboxes but nothing seems to work whilst that textbox has the focus. I have tried keydown events with timers but again the keydown event stops the timer event from working.! Rather frustrating. Anyway, that's the problem - if someone could shove me in the right direction then i would be grateful - if you have some working code i would be even more grateful!!
|