| robot | robot := Cylon robot: #connections -> ( #raspi -> (#adaptor -> #raspi) ) ,(#devices -> ( #led -> (#driver -> #led ,(#pin ->3)) )) ,(#work -> [:my| # #every: 1 second do: my#led#toggle ]). robot start | Note that the code we suggest here is written to match as much as possible the recommended code of javascript sample |
<datetime> : [Robot 1] - Starting connections. |
<datetime> : [Robot 1] - Starting connection 'raspi'. |
<datetime> : [Robot 1] - Starting devices. |
<datetime> : [Robot 1] - Starting device 'led' on pin 3. |
<datetime> : [Robot 1] - Working. |