|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Programming Spikes
I have two spikes, both are connected to the board, one on relay1, and the other on relay2. I want it to stay turned on when a button is pressed, but that is something I can do, however, how do I get the relay to turn on, and get the spike to turn on, and then get the globe motors attached to them to turn on?
|
|
#2
|
||||
|
||||
|
Re: Programming Spikes
Bert,
Please show the code fragment you are trying to execute. Mike |
|
#3
|
|||||
|
|||||
|
Re: Programming Spikes
make sure that each set of relays is set like:
relay1_fwd = 1; relay1_rev = 0; and then just make sure that all the wiring is correct. |
|
#4
|
|||
|
|||
|
Re: Programming Spikes
Quote:
This is probably where my mistake is. I set just relay1_fwd to 1. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Vex w/ MPLab | dababyjebus | FIRST Tech Challenge | 27 | 25-04-2008 09:11 |
| Programming - Getting Started | Mark McLeod | Programming | 80 | 16-04-2008 23:37 |
| Programming Forum Warning | Brandon Martus | Announcements | 10 | 29-12-2005 13:32 |
| Organizing a programming team. | scitobor 617 | Programming | 7 | 28-01-2005 19:18 |
| Robot Programming Education | phrontist | Programming | 11 | 03-05-2004 07:32 |