https://github.com/Patribots4738/BattleOfTheBorder
Here's our code on git.
Currently the solenoid fires once and then the code crashes, and the compressor does not start.
The pressure switch is wired correctly, NC connected to DIO signal and C connected to DIO (-). The compressor is wired to a spike, and the spike is connected to a RELAY port.
In the code you can see that they're both correctly inputted (if the right code is uploaded of course).
We're kind of stumped.