View Single Post
  #1   Spotlight this post!  
Unread 20-02-2012, 11:46
jeremy5561 jeremy5561 is offline
Registered User
FRC #0919
 
Join Date: Jan 2012
Location: Canada
Posts: 26
jeremy5561 is an unknown quantity at this point
Spike not Working

We plugged in the spike and we were trying to operate it with the example relay code.

We have it connected to the 40 A breaker on the PD board. The light on the spike is solid orange. The other side is connected to an am-0914 gearmotor. A black/red/white cable is connected to the relay1 port on the digital sidecar. The black wire is facing towards the edge of the sidecar and the white wire is facing towards the edge of the relay.

The example relay code was deployed and ran. It is set to dio:digital module1 relaychannel:relay1 relaydirection: both directions. RelayValue is set to forward. The light stays solid orange.

The relay light on the digital sidecar is not lit. We are however able to drive the robot with the speed controllers connected to the digital sidecar when we deploy the default crio program