From 7546fe3f1851a1f27ec6d72c76ce304f46102fca Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 13 Jun 2018 21:32:28 +0200 Subject: wip --- assignments/mqtt-with-button/mqtt-with-button.md | 8 +++++--- assignments/mqtt-with-button/mqtt-with-button.pdf | Bin 840375 -> 841020 bytes 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'assignments/mqtt-with-button') 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 Binary files a/assignments/mqtt-with-button/mqtt-with-button.pdf and b/assignments/mqtt-with-button/mqtt-with-button.pdf differ -- cgit v1.2.3