Quote:
Originally Posted by puneeth.meruva
We are using the same code as that which was given on the WPI tutorials. However, when we enable the robot, the compressor does not turn on and the LED's beside the relay ports on the sidecar do not turn on either. However, I am sure that there isn't any errors with the code since it is identical to the tutorials. Does anyone know what could be happening? Could the spike relay or the sidecar be faulty?
|
If there is no light on the DSC relay channel the spike isn't malfunctioning (not yet at least).
How is your pressure switch wired?
You should have a signal wire and ground wire going to the switch. This cable should plug into a digital I/O port on the DSC.
See the wires on the pressure switch in this figure
