# Reto 1 Humedad del suelo y nivel del agua

##### <span style="color: rgb(22, 145, 121);">**Enunciado**</span>

Mostrar en la pantalla OLED la temperatura y la humedad del aire, el nivel de humedad del suelo y el nivel del depósito de agua

##### <span style="color: rgb(22, 145, 121);">**Solución**</span>

Para la humedad y temperatura del aire vamos a Octopus y cogemos las funciones correspondientes.   
Para la humedad del suelo y el nivel del agua también vimos que en esa extensión, hay funciones que te da los valores en tanto por cien %. [![2026-09-29 16_52_27-Greenshot image editor.png](https://libros.catedu.es/uploads/images/gallery/2026-09/scaled-1680-/2026-09-29-16-52-27-greenshot-image-editor.png)](https://libros.catedu.es/uploads/images/gallery/2026-09/2026-09-29-16-52-27-greenshot-image-editor.png)

[https://makecode.microbit.org/S64895-39903-08613-08722](https://makecode.microbit.org/S64895-39903-08613-08722)

<div id="bkmrk--4" style="position: relative; height: 0; padding-bottom: 70%; overflow: hidden;"><iframe frameborder="0" sandbox="allow-popups allow-forms allow-scripts allow-same-origin" src="https://makecode.microbit.org/#pub:S64895-39903-08613-08722" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>

</div>[![2026-09-29 19_25_20-WhatsApp.png](https://libros.catedu.es/uploads/images/gallery/2026-09/scaled-1680-/2026-09-29-19-25-20-whatsapp.png)](https://libros.catedu.es/uploads/images/gallery/2026-09/2026-09-29-19-25-20-whatsapp.png)