Quote:
Originally Posted by LordFrz
... p1_sw_trig and p2_sw_trig
Im using easy C
|
The code you've been looking at is not what you need in EasyC.
A better place to post future questions about EasyC programming is in this sub-forum
http://www.chiefdelphi.com/forums/fo...play.php?f=164
You use those variables if you are using MPLAB, so ignore and don't try to use them.
For EasyC use "OI to Relay" under "RC Control" to work your cylinders.
For example, to use the trigger from Joystick Port 2, and the solenoid relay connected to Relay 7, you'll end up with a line of code something like:
Code:
OIToRelay(2,1,7,1);
This example will put the cylinder in one position while the trigger is held, and another when it is not being held.