aboutsummaryrefslogtreecommitdiff
path: root/assignments/blink-a-led
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-04-26 19:02:41 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-04-26 19:02:41 +0200
commit09be8a0d1b07dc55a55fea52365c774398658d7d (patch)
tree3eb8fcd1540b64256cb445cc8c8dbd1e5582a0ae /assignments/blink-a-led
parent129a22667006ec4f7ebca9c9d5b8e4d492103304 (diff)
downloadiot-workshop-ndc-2018-09be8a0d1b07dc55a55fea52365c774398658d7d.tar.gz
iot-workshop-ndc-2018-09be8a0d1b07dc55a55fea52365c774398658d7d.tar.bz2
iot-workshop-ndc-2018-09be8a0d1b07dc55a55fea52365c774398658d7d.tar.xz
iot-workshop-ndc-2018-09be8a0d1b07dc55a55fea52365c774398658d7d.zip
wip
Diffstat (limited to 'assignments/blink-a-led')
-rw-r--r--assignments/blink-a-led/blink-a-led.md12
-rw-r--r--assignments/blink-a-led/blink-a-led.pdfbin703496 -> 722602 bytes
2 files changed, 8 insertions, 4 deletions
diff --git a/assignments/blink-a-led/blink-a-led.md b/assignments/blink-a-led/blink-a-led.md
index f4b3fa1..e7fb5d8 100644
--- a/assignments/blink-a-led/blink-a-led.md
+++ b/assignments/blink-a-led/blink-a-led.md
@@ -1,13 +1,19 @@
# Assignment: Blink a led
-
## Goal
Check that your local environment is working properly.
+## Configure the Arduino IDE
+
+Under *Tools* -> *Board* make sure that "NodeMCU 1.0 (ESP-12E Module)"
+is available and selected.
+
+Create a new sketch with *File* -> *New* and compile it with *ctrl-R*.
+
## Step 1
-Create this schematic:
+Wire up this schematic on the bread board:
![](schematic/assignment-1_schem.pdf)
@@ -23,14 +29,12 @@ Implement `setup()` and `loop()`. In `setup()` configure the LED pin and blink t
Use these functions:
~~~ .c++
-
Serial.begin(115200);
Serial.println(string);
pinMode(pin, mode);
digitalWrite(pin, state); // HIGH or LOW
delay();
-
~~~
## Tips
diff --git a/assignments/blink-a-led/blink-a-led.pdf b/assignments/blink-a-led/blink-a-led.pdf
index c963e79..6456260 100644
--- a/assignments/blink-a-led/blink-a-led.pdf
+++ b/assignments/blink-a-led/blink-a-led.pdf
Binary files differ