View Single Post
  #1   Spotlight this post!  
Unread 07-02-2015, 19:43
adampaskowitz adampaskowitz is offline
Registered User
FRC #4345
 
Join Date: Dec 2011
Location: Los Angeles
Posts: 11
adampaskowitz is an unknown quantity at this point
No compressor light on PCM, no compressor power, no CAN recognition of compressor

I'm with a rookie team. We're programming in Java and trying to figure it out as we go. We have no real Java experts, and can't figure out if we have a hardware issue or a coding issue. All of lights on our PCM work except for the "Comp" light, which does not turn on at all. Our compressor works when we supply direct power, but we can't seem to power it through the PCM. When we run the self-test, the computer does not seem to recognize that a compressor is attached.

We tried creating a c.setClosedLoopControl for the compressor, and we tried to just create a DoubleSolenoid, but nothing responds. Can anyone tell me how to tell if we got a bad PCM, and what can I do about it if we did? Alternatively, is there any kind of very basic Java code we can plug in just to rule out bad programming as the issue?