|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Single button function execution
Hey all. Let me first clairify, I've searched for this to the best of my knowledge...
I have a VEX flamethrower robot, currently I have channel 5 set to light my butane pilot light, and channel 6 to spray ether into the flame. I would like to be able to use only one channel to do this (i.e. channel 6 down would light the flame, up would spray), but naturally I can't hold both buttons at once with the code I have, since it just negates everything. Make sense? My question: Can I just make the four buttons on the back of the controller act totally independent of each other, so they can run different functions (simultaneously)? Oh, by the way, Video of the "HOTBot" and Pictures As always, help is appreciated, I realize with the kickoff looming, everyone is going nuts (as am I!) Thanks! |
|
#2
|
||||
|
||||
|
Re: Single button function execution
Why don't you use a delay?
Have it light the lighter then wait 500ms and then start spraying. When you release you can have them shut everything down together. Cool Robot. |
|
#3
|
|||
|
|||
|
Re: Single button function execution
Younno, not a bad idea. I need to get a light sensor (or thermocouple) in place to check and make sure that the lighter is on before fuel gets sprayed.
Thanks for the idea. Edit: Thanks, Glad you like it! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User Processor Execution Time | Andrew Blair | Programming | 1 | 12-02-2006 21:52 |
| Loop execution time for Autonomous code | Transporter08 | Programming | 2 | 13-02-2005 16:17 |
| Remote Program Execution in Visual Basic | Jeff Waegelin | Programming | 6 | 14-06-2004 21:15 |
| How to measure execution time? And code size? | gnormhurst | Programming | 17 | 17-02-2004 08:06 |
| Actual execution time measurement | Dan | Technical Discussion | 5 | 24-03-2003 11:36 |