Skip to content
This repository was archived by the owner on Jul 19, 2018. It is now read-only.

Commit aa9ae31

Browse files
authored
Update worksheet.md
1 parent 3ac28fd commit aa9ae31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worksheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ With a switch, a single press and release on the button would turn the LED on, a
169169
while True:
170170
button.wait_for_press()
171171
led.toggle()
172-
sleep(0.5)
172+
sleep(0.5)
173173
```
174174

175175
`led.toggle()` switches the state of the LED from on to off, or off to on. Since this happens in a loop the LED will turn on and off each time the button is pressed.

0 commit comments

Comments
 (0)