Chief Delphi

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

jfrank 14-02-2008 13:26

spike
 
does anyone have example code for there spike relay that they are willing to share?

Mark McLeod 14-02-2008 14:03

Re: spike
 
Please specify the programming system you are using:
1) MPLAB
2) EasyC Pro
3) RobotC

Three systems, three different answers.

jfrank 16-02-2008 11:27

Re: spike
 
MPLAB

Racer26 16-02-2008 12:17

Re: spike
 
//to turn on
relay#_fwd = 1;
//to turn off
relay#_fwd = 0;

Mark McLeod 16-02-2008 13:48

Re: spike
 
Don't forget to set:
relay#_rev = 0;


All times are GMT -5. The time now is 00:57.

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