User Tools

Site Tools


eeros_architecture:control_system:available_blocks:switch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
eeros_architecture:control_system:available_blocks:switch [2019/03/28 10:33]
graf [Combing]
eeros_architecture:control_system:available_blocks:switch [2019/08/14 10:04] (current)
graf [Combining]
Line 34: Line 34:
 Switched can be combined. If switch 1 is combined with switch 2 and switch one changes its position then switch 2 will simultaneously change its position as well. To combine switches you have to call Switched can be combined. If switch 1 is combined with switch 2 and switch one changes its position then switch 2 will simultaneously change its position as well. To combine switches you have to call
 <code cpp> <code cpp>
-  s1.connect(s2)+  s1.combine(s2)
 </​code>​ </​code>​
 where ''​s2''​ is the switch whose position will follow the position of ''​s1''​. You can combine as many switches as you want. where ''​s2''​ is the switch whose position will follow the position of ''​s1''​. You can combine as many switches as you want.
eeros_architecture/control_system/available_blocks/switch.txt · Last modified: 2019/08/14 10:04 by graf