We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec78ba1 commit 08ebfacCopy full SHA for 08ebfac
exercises/light_switch/problem.md
@@ -1,7 +1,7 @@
1
__Write a program that acts like a light switch to turn an LED on and off.__
2
3
-* Attach a button to pin 5 and an LED to pin 9.
4
-* Use the `Button` class to detect `press` events and toggle your LED on/off.
+* Attach a button to pin 5 and an LED to pin 9
+* Use the `Button` class to detect `press` events and toggle your LED on/off
5
6
## Circuit diagram
7
@@ -22,7 +22,6 @@ Pin 5 o------------ |
22
'--|--|--' |
23
| |
24
----------.---o GND
25
-
26
```
27
28
## Components
@@ -35,3 +34,5 @@ Pin 5 o------------ |
35
34
36
- Button - https://github.com/rwaldron/johnny-five/wiki/Button#usage
37
- LED - https://github.com/rwaldron/johnny-five/wiki/Led#api
+
38
+---
0 commit comments