Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Programming Spikes (http://www.chiefdelphi.com/forums/showthread.php?t=44182)

X-Istence 17-02-2006 11:49

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?

Mike Betts 17-02-2006 12:04

Re: Programming Spikes
 
Bert,

Please show the code fragment you are trying to execute.

Mike

Cuog 17-02-2006 13:24

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.

X-Istence 17-02-2006 14:53

Re: Programming Spikes
 
Quote:

Originally Posted by Cuog
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.


This is probably where my mistake is. I set just relay1_fwd to 1.


All times are GMT -5. The time now is 01:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi