Have you tried the online window to see if you can fire your relays there?
Code:
while ( 1 )
{
OIToRelay ( 1 , 1 , 2 , 1 ) ; //Relay Port 2 FWD
OIToRelay ( 1 , 2 , 2 , 2 ) ; //Relay Port 2 REV
}
This will map the thumb and trigger to forward and reverse of the relay on port 1.
I have attached a precompiled program with the pressure monitoring function.
Plug the compressor relay into Relay Port 1,
Plug a Spare Relay into Port 2,
Plug the pressure switch into I/O port 7.
Joystick into port 1 on the OI