ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
(Pin = "light off")

will do assignment rather than comparison (one '=' means assign). The fix:

(Pin == "light off")
(Pin = "light off")

will do assignment rather than comparison (one '=' means assign). The fix:

(Pin == "light off")

I assume here that by "output" you mean the led changing.