Skip to content

Commit ca3134c

Browse files
committed
Switch LED and resistor on some ascii drawing
At the nodebot workshop last weekend in Paris, Reda and I had the feeling that some ascii schematics were probably wrong or at least confusing. We ended up using the pngs as reference. Somebody should probably double check though.
1 parent 72d4f49 commit ca3134c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

exercises/blink_blink/problem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ In all of your solutions you will need to:
5050
## Circuit diagram
5151

5252
```
53-
LED 330
54-
Pin 13 o--->|----/\/\/----o GND
53+
330 LED
54+
Pin 13 o--/\/\/---->|------o GND
5555
```
5656

5757
## Components

exercises/fire_alarm/problem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ __Build a "fire alarm" that sounds when the air temperature is more than 50°C._
1111
## Circuit diagram
1212

1313
```
14-
LED 330
15-
Pin 13 o-------->|---------/\/\/--------
14+
330 LED
15+
Pin 13 o--------/\/\/-------->|---------
1616
|
1717
Pin 5 o---------------------- |
1818
| |
@@ -48,4 +48,4 @@ Pin 5 o---------------------- |
4848
- TMP36 - https://github.com/rwaldron/johnny-five/blob/master/docs/sensor-temperature-tmp36.md
4949
- Button - https://github.com/rwaldron/johnny-five/wiki/Button#usage
5050

51-
---
51+
---

exercises/light_switch/problem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ __Write a program that acts like a light switch to turn an LED on and off.__
66
## Circuit diagram
77

88
```
9-
LED 330
10-
Pin 9 o--->|-------/\/\/-----
9+
330 LED
10+
Pin 9 o---/\/\/------>|------
1111
|
1212
Pin 5 o------------ |
1313
| |
@@ -35,4 +35,4 @@ Pin 5 o------------ |
3535
- Button - https://github.com/rwaldron/johnny-five/wiki/Button#usage
3636
- LED - https://github.com/rwaldron/johnny-five/wiki/Led#api
3737

38-
---
38+
---

exercises/street_lamp/problem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ __Build a street lamp that turns on as it gets dark.__
1212
| |
1313
Pin A0 o----------- |
1414
|
15-
LED 330 |
16-
Pin 9 o--->|-----/\/\/------
15+
330 LED |
16+
Pin 9 o--/\/\/----->|-------
1717
```
1818

1919
## Components
@@ -32,4 +32,4 @@ __Build a street lamp that turns on as it gets dark.__
3232
It fires a data event with the current reading of the sensor.
3333
The sensor value is available to the callback as `this.value`
3434

35-
---
35+
---

0 commit comments

Comments
 (0)