diff --git a/public/assignments/week06.html b/public/assignments/week06.html index 4b607ca7af31e011dc603e53ee476d775b54d6d1..cede5e60a269d596bbab218e8d5c76b06c822ba6 100644 --- a/public/assignments/week06.html +++ b/public/assignments/week06.html @@ -186,10 +186,14 @@ </code> </pre> - <span class="image object"> - <img src="../images/3-leds-blinking.mp4" alt="..." /> + <span class="object"> + <video width="600" height="300" controls> + <source src="../images/3LEDs-blinking.mp4" type="video/mp4"> + </video> </span> + <br> + <p>The next step was to use the button again and turn the 3 leds on all at ones by pushing it.</p> <pre> @@ -235,10 +239,14 @@ </code> </pre> - <span class="image object"> - <img src="../images/3-leds-blinking-button.mp4" alt="..." /> + <span class="object"> + <video width="600" height="300" controls> + <source src="../images/3LEDs-blink-button2.mp4" type="video/mp4"> + </video> </span> + <br> + <p>Last step, I used the Arduino Serial Monitor to turn on and off the LEDs separately.</p> <p>For this program, I asked <a href="https://gemini.google.com/app/" target="_blank">Gemini</a> (Google's ChatGPT) for some help (because I'm no good at programming!) and it gave me this code :</p> @@ -317,10 +325,16 @@ <img src="../images/gemini-prog-test.jpg" alt="..." /> </span> - <span class="image object"> - <img src="../images/gemini-prog-test.mp4" alt="..." /> + <br> + + <span class="object"> + <video width="600" height="300" controls> + <source src="../images/LED-change-serial-monitor.mp4" type="video/mp4"> + </video> </span> + <br> + <p>As little extra, I installed and tried out <a href="https://thonny.org/" target="_blank">Thonny</a> to code in MicroPython.</p> <p>For that, I followed all the steps of the <a href="https://wiki.seeedstudio.com/XIAO-RP2040-with-MicroPython/" target="_blank">Seeed Studio wiki page MicroPython language</a> to get the RGB LED to blink in "Beautiful colors".</p> @@ -437,11 +451,13 @@ <p>If it works well, you will see the RGB LED light convert and flash the lights. And the output of the text "Beautiful Color" will as well be displayed in the Shell.</p> - <span class="image object"> - <img src="../images/RGB-led-beautiful-colors.mp4" alt="..." /> + <span class="object"> + <video width="600" height="300" controls> + <source src="../images/beautiful-color-microPython.mp4" type="video/mp4"> + </video> </span> - </section> + </section> <hr> diff --git a/public/images/3LEDs-blink-button2.mp4 b/public/images/3LEDs-blink-button2.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..edd1e7912c3cadd79c413fc66b538387bc1e0e9f Binary files /dev/null and b/public/images/3LEDs-blink-button2.mp4 differ diff --git a/public/images/3LEDs-blinking.mp4 b/public/images/3LEDs-blinking.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..dafc14a0372caef4287fa180e8f2a3e2c3b00873 Binary files /dev/null and b/public/images/3LEDs-blinking.mp4 differ diff --git a/public/images/LED-change-serial-monitor.mp4 b/public/images/LED-change-serial-monitor.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..2091f35c326c6f1648a71b15501ffc6401b3bf6f Binary files /dev/null and b/public/images/LED-change-serial-monitor.mp4 differ diff --git a/public/images/beautiful-color-microPython.mp4 b/public/images/beautiful-color-microPython.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..68c9b4c2b5cc7a44778effb8a05094be9cc2eaeb Binary files /dev/null and b/public/images/beautiful-color-microPython.mp4 differ