Commit 704b0909 authored by Pablo Zuloaga Betancourt's avatar Pablo Zuloaga Betancourt 🤖
Browse files

Outputs Update

parent dfe79f74
Pipeline #239264 passed with stages
in 33 seconds
......@@ -792,7 +792,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/w" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Make your own site - <a href="https://mobirise.site/v" style="color:#aaa;">More info</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/l" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Create your own <a href="https://mobirise.site/y" style="color:#aaa;">website</a> with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -114,7 +114,7 @@
<br><a href="https://www.instagram.com/pabzul/">Instagram</a><br><a href="https://www.linkedin.com/in/pablo-zuloaga/">LinkedIn</a><br><a href="https://pablozuloaga.carbonmade.com/">Portafolio / Book</a><br>Youtube<br></p>
</div>
<div class="col-12 col-md-6">
<div class="google-map"><iframe frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?key=AIzaSyCZI5F_k6S1k46ujh0SNrapM89f7mJxd30&amp;q=Barcelona, España" allowfullscreen=""></iframe></div>
<div class="google-map"></div>
</div>
</div>
......@@ -158,7 +158,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/a" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Build a site with <a href="https://mobirise.site/z" style="color:#aaa;">Mobirise</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/theme/js/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/m" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Mobirise web page software - <a href="https://mobirise.site/n" style="color:#aaa;">Find out</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/theme/js/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -773,7 +773,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/k" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Mobirise site maker - <a href="https://mobirise.site/o" style="color:#aaa;">Go now</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/b" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Build a site - <a href="https://mobirise.site/v" style="color:#aaa;">Check it</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -1120,7 +1120,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/m" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Designed with Mobirise <a href="https://mobirise.site/u" style="color:#aaa;">web page</a> themes</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/j" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Mobirise free builder - <a href="https://mobirise.site/o" style="color:#aaa;">More here</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -555,7 +555,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/o" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">How to start a free website - <a href="https://mobirise.site/x" style="color:#aaa;">See here</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/w" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Built with Mobirise - <a href="https://mobirise.site/l" style="color:#aaa;">Find more</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -663,7 +663,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/g" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Mobirise page software - <a href="https://mobirise.site/o" style="color:#aaa;">Try it</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/s" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;"><a href="https://mobirise.site/q" style="color:#aaa;">This site</a> was made with Mobirise web themes</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -314,7 +314,100 @@
<div class="media-container-row">
<div class="title col-12 col-md-8">
<h2 class="align-center pb-3 mbr-fonts-style display-5"><strong>Troubleshooting</strong></h2>
<h3 class="mbr-section-subtitle align-center mbr-light mbr-fonts-style display-7"><div style="text-align: center;">I had some troubles in the begging understanding the measurements of the sensor, because of the code I was using, so I looked for another tutorial that was more acurate and also compared it to a ruler to do a final calibration.</div><br><div style="text-align: center;">I also added an Average funtion after documenting it so that it doesn´t takes into account the "noise" readings.</div></h3>
<h3 class="mbr-section-subtitle align-center mbr-light mbr-fonts-style display-7"><div style="text-align: center;">I had some troubles in the begging understanding the measurements of the sensor, because of the code I was using, so I looked for another tutorial that was more accurate and also compared it to a ruler to do a final calibration.</div><br><div style="text-align: center;">I also added an Average function after documenting it so that it doesn't takes into account the "noise" readings.</div></h3>
</div>
</div>
</div>
</section>
<section class="cid-sB6opJiFwx" id="image3-1ad">
<figure class="mbr-figure container">
<div class="image-block" style="width: 80%;">
<img src="assets/images/1624390422485-1488x1113.jpg" width="1400" alt="Mobirise" title="">
</div>
</figure>
</section>
<section class="mbr-section content4 cid-sB6s6QWD4w" id="content4-1ag">
<div class="container">
<div class="media-container-row">
<div class="title col-12 col-md-8">
<h2 class="align-center pb-3 mbr-fonts-style display-2"><strong>Light Reacting Motor</strong></h2>
<h3 class="mbr-section-subtitle align-center mbr-light mbr-fonts-style display-7"><div>Since all of this documentation was during Lockdown, I compliment the examples with a DC motor controlled by an Pab-T-Tinny44 depending on the readings of an LDR sensor. The sensor also controls a Led integrated in the board.</div><br><div>The programing process was already described in the Inputs week, and I used the same code, but changed the actuator to be on the motor pin instead of one of the bulbs.</div><br><div>One of the problems I has was that the pins of the board don't give to much power, and apparently this motor needs a little bit more, so it might have been a good idea to add a mosfet and an external power source to the equation, so that we could PWM the mosfet while giving more power to the motor.</div></h3>
</div>
</div>
</div>
</section>
<section class="features11 cid-sB6pP4Qfil" id="features11-1af">
<div class="container">
<div class="col-md-12">
<div class="media-container-row">
<div class="mbr-figure m-auto" style="width: 45%;">
<img src="assets/images/screen-shot-2021-06-22-at-11.47.23-pm-543x743.png" alt="ESP8266 12-E Chip Pinout" title="ESP8266 12-E Chip Pinout">
</div>
<div class=" align-left aside-content">
<h2 class="mbr-title pt-2 mbr-fonts-style display-5"><strong><a href="http://academany.fabcloud.io/fabacademy/2020/labs/barcelona/students/pabzul/assets/files/W11/ATtiny44-LDR_MOTOR/ATtiny44-LDR_MOTOR.ino" class="text-primary" target="_blank">CODE LINK:</a></strong></h2>
<div class="mbr-section-text">
</div>
<div class="block-content">
<div class="card p-3 pr-3">
<div class="media">
<div class="media-body">
</div>
</div>
<div class="card-box">
<p class="block-text mbr-fonts-style display-4">#define LDR 2<br>#define Motor 7<br>#define GREEN 8<br><br>float LDRval = 0;<br>float sunny = 0; // calibrate sensor value WHEN LIGHT<br>float dark = 1024; // calibrate sensor value WHEN DARK<br>float treshold = 50; // define treshold to turn lights ON or OFF<br><br>#include <softwareserial.h><br><br>SoftwareSerial mySerial(0, 1); // RX, TX (0 y 1)<br><br>void setup() {<br> <br> mySerial.begin(9600);<br><br> pinMode(LDR, INPUT);<br> pinMode(Motor, OUTPUT);<br> pinMode(GREEN, OUTPUT);<br>}<br></softwareserial.h><br><softwareserial.h>void loop() {<br> </softwareserial.h><br><softwareserial.h>if (analogRead(LDR) &lt; 500) {<br> digitalWrite(Motor,HIGH);<br> digitalWrite(GREEN,LOW); <br> </softwareserial.h><br><softwareserial.h>} else {<br> digitalWrite(Motor,LOW);<br> digitalWrite(GREEN,HIGH); <br> }<br> </softwareserial.h><br><softwareserial.h>LDRval = map(analogRead(LDR),sunny,dark,0,100);<br> </softwareserial.h><br><softwareserial.h>mySerial.print("LDR Read: ");<br> mySerial.print(analogRead(LDR));<br> mySerial.print(" Light Percent: ");<br> mySerial.print(LDRval);<br> mySerial.println(" %");<br><br>}</softwareserial.h><br></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="cid-sB6pECrk2i" id="video3-1ae">
<figure class="mbr-figure align-center container">
<div class="video-block" style="width: 100%;">
<div><iframe class="mbr-embedded-video" src="https://www.youtube.com/embed/Q6U05mvNppM?rel=0&amp;amp;showinfo=0&amp;autoplay=1&amp;loop=0" width="1280" height="720" frameborder="0" allowfullscreen></iframe></div>
</div>
</figure>
</section>
<section class="mbr-section content4 cid-sB6uW0PA2t" id="content4-1ah">
<div class="container">
<div class="media-container-row">
<div class="title col-12 col-md-8">
<h2 class="align-center pb-3 mbr-fonts-style display-2"><strong>Reflections and POWAR</strong></h2>
<h3 class="mbr-section-subtitle align-center mbr-light mbr-fonts-style display-7"><div>As I was saying in the Inputs week, I like interacting within inputs, outputs and data from the cloud. So in my final project POWAR, I will actuate a water pump, a ventilator and a halogen lamp to simulate a weather inside, acording to the information gathered from a weather API on the web and the sensors inside of it.</div><br><div>Even dough, I suffered a lot programing these boards...</div></h3>
</div>
</div>
......@@ -358,7 +451,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/f" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">How to create a free site - <a href="https://mobirise.site/x" style="color:#aaa;">Find more</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/w" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;"><a href="https://mobirise.site/d" style="color:#aaa;">This website</a> was created with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -402,7 +402,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/c" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;"><a href="https://mobirise.site/t" style="color:#aaa;">Designed</a> with Mobirise html templates</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/m" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Start a site - <a href="https://mobirise.site/v" style="color:#aaa;">More here</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -559,7 +559,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/l" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Website was <a href="https://mobirise.site/h" style="color:#aaa;">designed with</a> Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/m" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Start your own <a href="https://mobirise.site/y" style="color:#aaa;">web page</a> with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -515,7 +515,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/o" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;"><a href="https://mobirise.site" style="color:#aaa;">mobirise.com</a> best website builder</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/r" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Website was <a href="https://mobirise.site/g" style="color:#aaa;">started</a> with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -398,7 +398,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/j" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Site <a href="https://mobirise.site/f" style="color:#aaa;">was started</a> with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/x" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Create a website - <a href="https://mobirise.site/w" style="color:#aaa;">Click here</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/theme/js/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -451,11 +451,11 @@
<section class="carousel slide cid-sB0sIY8MFr" id="slider3-19k">
<div class="carousel slide" data-ride="carousel" id="sB6leEgfl7">
<div class="carousel slide" data-ride="carousel" id="sB6w7pGmZt">
<ol class="carousel-indicators">
<li data-slide-to="0" class="active" data-target="#sB6leEgfl7"></li>
<li data-slide-to="1" data-target="#sB6leEgfl7"></li>
<li data-slide-to="2" data-target="#sB6leEgfl7"></li>
<li data-slide-to="0" class="active" data-target="#sB6w7pGmZt"></li>
<li data-slide-to="1" data-target="#sB6w7pGmZt"></li>
<li data-slide-to="2" data-target="#sB6w7pGmZt"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item slider-image item">
......@@ -483,11 +483,11 @@
</div>
<a class="carousel-control carousel-control-prev" role="button" data-slide="prev" href="#sB6leEgfl7">
<a class="carousel-control carousel-control-prev" role="button" data-slide="prev" href="#sB6w7pGmZt">
<span class="mbri-left mbr-iconfont" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control carousel-control-next" role="button" data-slide="next" href="#sB6leEgfl7">
<a class="carousel-control carousel-control-next" role="button" data-slide="next" href="#sB6w7pGmZt">
<span class="mbri-right mbr-iconfont" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
......@@ -542,7 +542,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/b" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Created with Mobirise - <a href="https://mobirise.site/k" style="color:#aaa;">More here</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/x" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Build your own site - <a href="https://mobirise.site/v" style="color:#aaa;">See it</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -595,7 +595,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/v" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Mobirise web maker - <a href="https://mobirise.site/p" style="color:#aaa;">Find out</a></p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/r" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Create a free <a href="https://mobirise.site/y" style="color:#aaa;">website</a> with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
......@@ -367,7 +367,7 @@
</div>
</div>
</div>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/s" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;"><a href="https://mobirise.site/d" style="color:#aaa;">This web page</a> was built with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
</section><section style="background-color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; color:#aaa; font-size:12px; padding: 0; align-items: center; display: flex;"><a href="https://mobirise.site/w" style="flex: 1 1; height: 3rem; padding-left: 1rem;"></a><p style="flex: 0 0 auto; margin:0; padding-right:1rem;">Page was <a href="https://mobirise.site/g" style="color:#aaa;">designed</a> with Mobirise</p></section><script src="assets/web/assets/jquery/jquery.min.js"></script> <script src="assets/popper/popper.min.js"></script> <script src="assets/bootstrap/js/bootstrap.min.js"></script> <script src="assets/tether/tether.min.js"></script> <script src="assets/smoothscroll/smooth-scroll.js"></script> <script src="assets/dropdown/js/nav-dropdown.js"></script> <script src="assets/dropdown/js/navbar-dropdown.js"></script> <script src="assets/touchswipe/jquery.touch-swipe.min.js"></script> <script src="assets/viewportchecker/jquery.viewportchecker.js"></script> <script src="assets/parallax/jarallax.min.js"></script> <script src="assets/masonry/masonry.pkgd.min.js"></script> <script src="assets/imagesloaded/imagesloaded.pkgd.min.js"></script> <script src="assets/bootstrapcarouselswipe/bootstrap-carousel-swipe.js"></script> <script src="assets/vimeoplayer/jquery.mb.vimeo_player.js"></script> <script src="assets/theme/js/script.js"></script> <script src="assets/gallery/player.min.js"></script> <script src="assets/gallery/script.js"></script> <script src="assets/slidervideo/script.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="mbr-arrow-up-icon mbr-arrow-up-icon-cm cm-icon cm-icon-smallarrow-up"></i></a></div>
......
#define LDR 2
#define REDLight 7
#define GREENLight 8
float LDRval = 0;
float sunny = 0; // calibrate sensor value WHEN LIGHT
float dark = 1024; // calibrate sensor value WHEN DARK
float treshold = 50; // define treshold to turn lights ON or OFF
#include <SoftwareSerial.h>
SoftwareSerial mySerial(0, 1); // RX, TX (0 y 1)
void setup() {
mySerial.begin(9600);
pinMode(LDR, INPUT);
pinMode(6, OUTPUT);
pinMode(8, OUTPUT);
}
void loop() {
if (analogRead(LDR) < 500) {
digitalWrite(6,HIGH);
digitalWrite(8,LOW);
} else {
digitalWrite(6,LOW);
digitalWrite(8,HIGH);
}
LDRval = map(analogRead(LDR),sunny,dark,0,100);
mySerial.print("LDR Read: ");
mySerial.print(analogRead(LDR));
mySerial.print(" Light Percent: ");
mySerial.print(LDRval);
mySerial.println(" %");
}
This diff is collapsed.
......@@ -1104,7 +1104,7 @@ section.lazy-placeholder:after {
color: #ff00ff;
}
.cid-rWSOUKAzMs {
padding-top: 60px;
padding-top: 120px;
padding-bottom: 120px;
background-color: #ffffff;
}
......@@ -1458,6 +1458,138 @@ section.lazy-placeholder:after {
color: #00f0ff;
text-align: center;
}
.cid-sB6opJiFwx {
background: #ffffff;
padding-top: 15px;
padding-bottom: 0px;
background: linear-gradient(0deg, #ffffff, #ffffff);
}
.cid-sB6opJiFwx .image-block {
margin: auto;
}
.cid-sB6opJiFwx figcaption {
position: relative;
}
.cid-sB6opJiFwx figcaption div {
position: absolute;
bottom: 0;
width: 100%;
}
@media (max-width: 768px) {
.cid-sB6opJiFwx .image-block {
width: 100% !important;
}
}
.cid-sB6s6QWD4w {
padding-top: 45px;
padding-bottom: 45px;
background-color: #ffffff;
}
.cid-sB6s6QWD4w .mbr-section-subtitle {
color: #767676;
text-align: left;
}
.cid-sB6s6QWD4w H2 {
color: #00f0ff;
text-align: left;
}
.cid-sB6pP4Qfil {
padding-top: 90px;
padding-bottom: 105px;
background-color: #ffffff;
}
.cid-sB6pP4Qfil h2 {
text-align: left;
}
.cid-sB6pP4Qfil h4 {
text-align: left;
font-weight: 500;
}
.cid-sB6pP4Qfil p {
color: #767676;
text-align: left;
}
.cid-sB6pP4Qfil .aside-content {
flex-basis: 100%;
-webkit-flex-basis: 100%;
}
.cid-sB6pP4Qfil .block-content {
display: -webkit-flex;
flex-direction: column;
-webkit-flex-direction: column;
word-break: break-word;
}
.cid-sB6pP4Qfil .media {
margin: initial;
align-items: center;
-webkit-align-items: center;
}
.cid-sB6pP4Qfil .mbr-figure {
align-self: flex-start;
-webkit-align-self: flex-start;
-webkit-flex-shrink: 0;
flex-shrink: 0;
}
.cid-sB6pP4Qfil .card-img {
padding-right: 2rem;
width: auto;
}
.cid-sB6pP4Qfil .card-img span {
font-size: 72px;
color: #707070;
}
@media (min-width: 992px) {
.cid-sB6pP4Qfil .mbr-figure {
padding-right: 4rem;
}
}
@media (max-width: 991px) {
.cid-sB6pP4Qfil .mbr-figure {
padding-right: 0;
padding-bottom: 1rem;
margin-bottom: 2rem;
}
}
@media (max-width: 300px) {
.cid-sB6pP4Qfil .card-img span {
font-size: 40px !important;
}
}
.cid-sB6pP4Qfil H2 {
text-align: left;
color: #00f0ff;
}
.cid-sB6pP4Qfil .mbr-text {
color: #232323;
text-align: center;
}
.cid-sB6pECrk2i {
background: #000000;
padding-top: 120px;
padding-bottom: 120px;
background: linear-gradient(0deg, #000000, #000000);
}
.cid-sB6pECrk2i .video-block {
margin: auto;
}
@media (max-width: 768px) {
.cid-sB6pECrk2i .video-block {
width: 100% !important;
}
}
.cid-sB6uW0PA2t {
padding-top: 105px;
padding-bottom: 45px;
background-color: #ffffff;
}
.cid-sB6uW0PA2t .mbr-section-subtitle {
color: #767676;
text-align: left;
}
.cid-sB6uW0PA2t H2 {
color: #00f0ff;
text-align: left;
}
.cid-rWSOV8upEs {
padding-top: 45px;
padding-bottom: 45px;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment