Log in

View Full Version : spike


jfrank
14-02-2008, 13:26
does anyone have example code for there spike relay that they are willing to share?

Mark McLeod
14-02-2008, 14:03
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
MPLAB

Racer26
16-02-2008, 12:17
//to turn on
relay#_fwd = 1;
//to turn off
relay#_fwd = 0;

Mark McLeod
16-02-2008, 13:48
Don't forget to set:
relay#_rev = 0;