doc: fix bool input

This commit is contained in:
Sebastien Bourdeauducq 2016-06-03 22:56:12 -04:00
parent ec3641551c
commit 5ebd28f576
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ A method or function running on the core device (which we call a "kernel") may c
Modify the code as follows: ::
def input_led_state() -> TBool:
return bool(input("Enter desired LED state: "))
return input("Enter desired LED state: ") == "1"
class LED(EnvExperiment):
def build(self):