From 0c3b319b12d5e45cefdba17f7829174ee8f2677f Mon Sep 17 00:00:00 2001 From: Edgar O Silva Date: Wed, 6 Nov 2013 14:19:14 -0600 Subject: [PATCH] Fixes raspi button example typo. --- examples/raspi_button.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/raspi_button.coffee b/examples/raspi_button.coffee index 5ad388e..5983b5c 100644 --- a/examples/raspi_button.coffee +++ b/examples/raspi_button.coffee @@ -12,6 +12,6 @@ Cylon.robot ] work: (my) -> - my.button.on 'push', my.led.toggle() + my.button.on 'push', () -> my.led.toggle() .start()