The problem is that the spikes were orange while the circuit breaker was green. The pressure was all right for the cylinder to move (manually) but the joy stick control didn’t seem to work at all…
One more thing, our pressure switch won’t turn off when the pressure reaches 115 psi, when our code was “relay8_fwd = rc_dig_in18”
But when the code was “relay8_fwd = !rc_dig_in18”, there was no pressure in the compressor!! What the…is going on???
First of all, what do you mean by buttons under the wheel. If you’re using the joysticks from KOP then, I think, the aux buttons are on the top of the joystick on both sides of the small black joystick.
Then the way to check, see if your spike LED goes green, when you press the button. Then if should activate your silenoid valves if they are wired correctly.
Yes, those are the two small buttons on either side of the joystick “hat”.
Your code looks okay, though I’m not sure why you’re using two separate Spikes instead of the two halves of a single Spike. I assume you have the wiring correct. Since the Spike LEDs remain orange, I would look at where the pwm cables are plugged in to the Spike. We’ve had such trouble this year trying to get the cables to make a good, consistent connection.
You’ll have to do that later, of course. Now, just relax, right?