Radio Control Tank Kits

Keyboard commands in VB6 for controlling a model tank.?
i am currently making a computer controlled model army tank, it is controlled by and onboard pico itx comp, that is on wireless lan that you rdp into to use…
my question is:
in the sample software for the kit used to control the tank is a main timer function, i am wanting to know if its possible to have a command to check if a key has been pushed, i.e. this will end up being
w = forward
a = left
s = back
d = right
nothing = clutch (motors both have no power)
all the movements are currently in radio buttons (9 total)
all i want to do is assign it so that a when a key is pushed it will switch on that radio button for the duration of the push (when its done will go back to its clutch position)
the timer also monitors inputs from the tanks conroller, controlls and set outputs for speed and switch functions. the controll kit is a vellemen k8055 if that helps.
let me know if i need more details !!
thanks
double click on the form..
in the code sid you’ll have “sub form load()” code
form the menu bar there is tow combo box one with the “form” name which could be “form1″ and other with the action code which it should be “Load()” change load to keydown or keyup or whatever key you like, this will make new method like the “sub form_load()” it could be like this “sub form_keydown(keycode key)”
you can use the key parameter to know any key will pressed on the form.
see also.
http://www.dreamincode.net/forums/showtopic34315.htm
http://www.freevbcode.com/ShowMessage.asp?ID=53556
http://www.vbforums.com/showthread.php?p=2242689
|
|
Briggs & Stratton 40248 7000-Watt PowerNow Dual Mode Air Cooled Home Standby Generator $1,999.99 The Briggs & Stratton EmPower power now 7,000-watt standby generator is fully equipped to keep most of your home essentials and conveniences running when the grid goes down. Powered by a durable Briggs & Stratton Extended Life Series engine, this unit quickly converts to a standby generator with an optional transfer switch (sold seperatly) for ready-to-go back up power. This EmPower generator offe… |
|
|
Spy Gear Spy Video Car VX-6 $53.00 The Spy Gear Spy Video Car VX6 is a spy mobile combining top features from all of the Spy Video vehicles. Unlike conventional remote-control cars, the VX6 allows you to see what it sees with real-time digital video displayed directly on the color LCD screen. Now kids can keep an eye on the action, no matter where it happens. Ideal for budding spies aged 8 years and up, the VX6 offers infrared nig… |
|
|
Spy Gear Spy Video TRAKR $66.75 Add high-tech sophistication to your spying games with the Spy Video TRAKR. This remote-controlled robot lets you record video with as much secrecy as possible. It transmits video to the full-color screen on the remote control for viewing in real time. For more advanced spying, TRAKR can run specialized apps for even better functionality, and it can store video on a memory card (sold separately) f… |
|
|
RC Battle Tank Leopard Tank Shoots BB’s Radio Remote Control 1:24 $34.95 Authorized OEM Factory for Marui RC Tank Original English Menu Instruction Book! All driving wheels suspension system (7)ways movement Main Cannon fires 6mm BB up to 25 meter range 320 degrees turret rotation 2-level forward speed control Length: 41cm 3 Frequency 9 Band for change 1/24 Radio-controlled battle tank Max firing range of about 25M Equipped with motor air gun Turret can turn … |
|
|
I-mobile Sd/mmc/usb/mp3 Wireless in Car Fm Transmitter with Remote (Black) $9.99 With iMobile, you can enjoy your full digital music in your car, for the cost of less than a full tank of gas. You can also keep every unwanted wire mess away, and just use it as a normal installed car player. Listen to the best sound quality on your stereo. You don’t have to worry about remembering to turn off your iPod because this car mp3 player draws the power directly from your vehicle’s DC12… |
|
|
1000Va On-Line Double-Conversion Ups System For Critical Server Network And $496.99 SMART OL 1000VA RM TWR 2U UPS 6RCPTL USB SER SLOT… |