|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
|||
|
|||
|
Re: Help with WindRiver pneumatics code
hi,
I'm still confused after reading these examples. we're trying out pneumatics code also - it goes as follows: arm_button1 = arm_stick.GetRawButton(1); if (arm_button1) { s1.Set(0); s2.Set(1); } else { s1.Set(1); s2.Set(0); } I've declared s1 and s2 as Solenoids under the Class section, and initialized them as s1(1,1) and s1(1,2) in the Public section. But they are connected to pins 1 and 2 on the Digital Output Module. Which numbers in parentheses refer to the pins of the DOM? How can we trouble shoot this? we're not getting any response when we press button 1 on our joystick. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|