aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-06-13 21:32:28 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-06-13 21:32:28 +0200
commit7546fe3f1851a1f27ec6d72c76ce304f46102fca (patch)
tree0c51347f52c799e5c75591828d1e63ecc3d3048f
parent1c878c3f149f00846bf765427e064126e2c9bc44 (diff)
downloadiot-workshop-ndc-2018-7546fe3f1851a1f27ec6d72c76ce304f46102fca.tar.gz
iot-workshop-ndc-2018-7546fe3f1851a1f27ec6d72c76ce304f46102fca.tar.bz2
iot-workshop-ndc-2018-7546fe3f1851a1f27ec6d72c76ce304f46102fca.tar.xz
iot-workshop-ndc-2018-7546fe3f1851a1f27ec6d72c76ce304f46102fca.zip
wip
-rw-r--r--assignments/mqtt-with-button/mqtt-with-button.md8
-rw-r--r--assignments/mqtt-with-button/mqtt-with-button.pdfbin840375 -> 841020 bytes
-rw-r--r--slides/TODO.md2
3 files changed, 7 insertions, 3 deletions
diff --git a/assignments/mqtt-with-button/mqtt-with-button.md b/assignments/mqtt-with-button/mqtt-with-button.md
index 99995fb..77f0b22 100644
--- a/assignments/mqtt-with-button/mqtt-with-button.md
+++ b/assignments/mqtt-with-button/mqtt-with-button.md
@@ -30,10 +30,12 @@ Wire up this schematic on the bread board:
* Publish a message on button press on the topic
`ndc/$device-id/button`
-# Step 5
+# Step 5 (Bonus)
-* Subscribe to the topic `ndc/$device-id/led` and turn the LED on/off
- based on the contents of the message.
+* Subscribe to the topic `ndc/$device-id/led`.
+
+* Use the value to for example turn the LED on/off, or change the
+ LED's blinking pattern.
## Tips
diff --git a/assignments/mqtt-with-button/mqtt-with-button.pdf b/assignments/mqtt-with-button/mqtt-with-button.pdf
index d994803..93079d7 100644
--- a/assignments/mqtt-with-button/mqtt-with-button.pdf
+++ b/assignments/mqtt-with-button/mqtt-with-button.pdf
Binary files differ
diff --git a/slides/TODO.md b/slides/TODO.md
index ae81edd..7d053b9 100644
--- a/slides/TODO.md
+++ b/slides/TODO.md
@@ -3,3 +3,5 @@ Slide: *Device and application architecture with MQTT*
* Add one-way pointers for TCP, keep existing as MQTT messaging.
Illustrates that everyone connects to the broker, but messages can
be pushed. Contrast to HTTP.
+
+* Assignments: D0 is the pin to use.