Fixes raspi button example typo.
This commit is contained in:
parent
ff978f3a0d
commit
0c3b319b12
|
@ -12,6 +12,6 @@ Cylon.robot
|
|||
]
|
||||
|
||||
work: (my) ->
|
||||
my.button.on 'push', my.led.toggle()
|
||||
my.button.on 'push', () -> my.led.toggle()
|
||||
|
||||
.start()
|
||||
|
|
Loading…
Reference in New Issue