spike

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

Please specify the programming system you are using:

  1. MPLAB
  2. EasyC Pro
  3. RobotC

Three systems, three different answers.

MPLAB

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

Don’t forget to set:
relay#_rev = 0;