Hi.
What i need to do is to enable joystick jog only when button1 is
pressed,to avoid accidental movements.
I think to do it with an if statement, but don't know how to implement
into hal commands.
I think i cannot use and2, because button is a bit, while value from the
stick is a float.
The only way that comes to my mind is to use mult2, using as inputs the
float value from the stick, multiplied by 0 or 1 if the button is
pressed or not.
Can you tell me what's the right way to do it?

Thanks, Davide.


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to