diff --git a/README.md b/README.md index 719592f5031266a37e4694e19a30163047222d24..c763086b57dc49c92c07c278aba923ba5a582c3a 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ - [Task 1: Binary heap.](#task-1-binary-heap) - [Task 2: Python encode / decode.](#task-2-python-encode--decode) - [Task 3: Server echo.](#task-3-server-echo) + - [Demos](#demos) - [Getting Started](#getting-started) - [Dependencies](#dependencies) - [Installing](#installing) @@ -66,6 +67,15 @@ ___ * ***hamradio.py*** Please see **The ham encoder/decoder:** section to see how this works. * ***hamserver.py*** This brings the two files above into one file to be able to encode and decode the server messages as it operates using the ham format. . * ***unittest.py*** unittest is an inbuilt Python library. Its a test runner and is specially design for running tests and debugging. This one contains a few useful tools that we are going to use. It works similarly to the assert function. We've written a few test cases to test things like: Correct, incorrect, invalid inputs for both encode and decode. Again after testing I found a **FUNDAMENTAL ERROR** I was using two spaces to indicate a separation of works when in fact it should be three. Heres how I went about fixing it.  Here you can see that double spacing has appeared in the result this is unexpected. [part 1](https://gitlab.uwe.ac.uk/jo2-holdsworth/iot-worksheet-2-part-1)'s logic will need to be changed in both the **encode** and **decode** functions to accommodate the change.. To be able to test the time function we must first get the time. `datetime` can do that for us. This method of testing is not bullet proof but it does run successfully most of the time on quick connections.  +___ +## Demos +* ***Task 1:*** + <iframe width="560" height="315" src="https://www.youtube.com/embed/coAidIG8ZoQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> +* ***Task 2:*** + <iframe width="560" height="315" src="https://www.youtube.com/embed/hqghPQFcW4U" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> +* ***Task 3:*** + <iframe width="560" height="315" src="https://www.youtube.com/embed/BPZv5ajf3TM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> +___ ## Getting Started * Running the task files