|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
|||
|
|||
|
Re: NEED Help With turning on the compressor
You could try to see if the relay works
Initializing : Relay compRelay; compRelay(COMPRESSOR_RELAY_CHANNEL), and then set it to turn on if you hit a button if (stick.GetRawButton(PICK_A_BUTTON)) compRelay.Set(Relay::kOn); else compRelay.Set(Relay::kOff); If this works (side car relay light turns on) on the hardware side, but it doesn't turn on, check your hardware. Also, make sure you connected the relay to a relay port, not a pwm port Once this works, and you know if the compressor works, and you can debug the auto cutoff switch. P.S. if you're running a 2013 crio image with 2014 wpi, it won't work, we tried. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|