{"id":2254,"date":"2019-12-06T11:01:39","date_gmt":"2019-12-06T11:01:39","guid":{"rendered":"https:\/\/blogs.etsii.urjc.es\/dseytr\/?p=2254"},"modified":"2019-12-06T11:01:40","modified_gmt":"2019-12-06T11:01:40","slug":"babuino-tu-amigo-en-arduino","status":"publish","type":"post","link":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/","title":{"rendered":"Babuino, tu amigo en Arduino"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li><strong><em>Antonio Robledinos Ant\u00f3n<\/em><\/strong><\/li><li><strong><em>Celtia Mart\u00edn Garc\u00eda<\/em><\/strong><\/li><li><strong><em>Daniel Mu\u00f1oz Rivera<\/em><\/strong><\/li><li><strong><em>Jia Qi (Roc\u00edo) Chen Sun<\/em><\/strong><\/li><\/ul>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png\" alt=\"\" class=\"wp-image-2255\" width=\"438\" height=\"330\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png 502w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO-300x226.png 300w\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" \/><\/figure>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">PREPROYECTO<\/h2>\n\n\n\n<p>Como primera idea del proyecto, se decidi\u00f3 hacer un Tamagotchi convencional. Su nombre y el nombre del proyecto es Babuino. Se implementar\u00eda este juego a base de una pantalla donde se fuera mostrando a un mono realizando diversas actividades. El Objetivo del jugador ser\u00e1 ayudarle, cuidarle y evitar que muera. <\/p>\n\n\n\n<p>El Babuino puede realizar muchas actividades en diversas pantallas (recogidas en el men\u00fa): una Pantalla neutra, una Pantalla Comer, una Pantalla Ducha, una Pantalla Dormir, una Pantalla Dar Mimos, una Pantalla Jugar y una Pantalla Apagar.<\/p>\n\n\n\n<p> Tambi\u00e9n se cre\u00f3 un prototipo a papel de la caja que podr\u00eda contenerlo, con medidas aproximadas a lo que \u00edbamos a necesitar:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"1024\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/PROT-BAJA-973x1024.png\" alt=\"\" class=\"wp-image-2258\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/PROT-BAJA-973x1024.png 973w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/PROT-BAJA-285x300.png 285w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/PROT-BAJA-768x809.png 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/PROT-BAJA.png 1152w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">COMPONENTES Y PRESUPUESTO<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Placa Arduino UNO<\/strong><\/li><li><strong>2 PCB&#8217;s (Peque\u00f1as)<\/strong> (COMPRADO)<\/li><li><strong>Pantalla<\/strong>: HiLetgo 2.2 inch ILI9341 SPI TFT LCD Display 240&#215;320 3.3V. SKU: MSP2202 (COMPRADO) <\/li><li><strong>Oled Screen<\/strong>: LCD QAPASS 1602 5V <\/li><li><strong>Timbre<\/strong>: KPE-827 KINGSTATE 5V <\/li><li><strong>3 Botones<\/strong> (COMPRADO) <\/li><li><strong>Sensor<\/strong> HC-SR04 <\/li><li><strong>Madera de Marqueter\u00eda<\/strong> (COMPRADO)<\/li><li><strong>Cables<\/strong> (COMPRADO) <\/li><li><strong>Resistencias<\/strong> (COMPRADO)<\/li><\/ul>\n\n\n\n<p><strong>PRESUPUESTO TOTAL: 32,85\u20ac<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">DESARROLLO Y MONTAJE<\/h2>\n\n\n\n<p>Los primeros d\u00edas, empezamos a crear la base del c\u00f3digo. Se crearon las variables globales que controlan el hambre y las dem\u00e1s caracter\u00edsticas de Babuino. Tambi\u00e9n se hicieron pruebas con la pantalla OLED, en la que ten\u00edamos pensado que salieran las notificaciones de esas variables cuando alcanzaban cierto umbral.<\/p>\n\n\n\n<p>Para controlarlas y probar su funcionamiento, usamos los 3 botones que nos ven\u00edan con el kit de Arduino para hacer que se reseteasen si se pulsaban. La prueba result\u00f3 ser todo un \u00e9xito, y la base principal del programa qued\u00f3 perfecta.<\/p>\n\n\n\n<p>Para nuestro siguiente paso, tuvimos que encargar la pantalla. Una vez nos lleg\u00f3, intentamos que funcionara. Sin embargo, hubo bastantes problemas con el c\u00f3digo y el funcionamiento de la propia pantalla, cosa que nos tuvo ocupados varias semanas.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-8-1024x576.jpeg\" alt=\"\" class=\"wp-image-2265\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-8-1024x576.jpeg 1024w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-8-300x169.jpeg 300w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-8-768x432.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-8-1536x864.jpeg 1536w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-8.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Probando la pantalla<\/figcaption><\/figure>\n\n\n\n<p>Como primer problema, los tutoriales para conectarla que vimos no funcionaban. Este problema se acab\u00f3 resolviendo, a\u00f1adiendo salidas a GROUND y resistencias que faltaban y que no se especificaba en el tutorial.<\/p>\n\n\n\n<p>Seguido a ello, las librer\u00edas necesarias para el funcionamiento de los programas de prueba daban fallos. Tras mucho buscar, encontramos un c\u00f3digo de prueba que usaba ciertas librer\u00edas que s\u00ed funcionaban, y por fin pudimos ver en acci\u00f3n a nuestra pantalla.<\/p>\n\n\n\n<p>Tras este gran logro, debatimos la manera de implementar los Sprites de Babuino. Hab\u00eda dos opciones principales: a mano en el c\u00f3digo o usando la SD que soportaba la pantalla. Al no disponer de mucho espacio, y que la calidad gr\u00e1fica y facilidad a la hora de desarrollar el c\u00f3digo era mayor, nos hizo decantarnos por la segunda opci\u00f3n.<\/p>\n\n\n\n<p>Sin embargo, la SD dio m\u00e1s problemas de lo que esper\u00e1bamos. Primero, tuvimos que soldar los pines de la SD. Luego, al probarla, nunca funcionaba, solo mostraba unos extra\u00f1os parpadeos y unas l\u00edneas por pantalla. Probamos durante dos semanas diferentes configuraciones, tutoriales de uso, v\u00eddeos\u2026 Al final, todo qued\u00f3 en nada. Debido a la falta de tiempo, tuvimos que cambiar a la primera opci\u00f3n.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-3-576x1024.jpeg\" alt=\"\" class=\"wp-image-2266\" width=\"236\" height=\"420\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-3-576x1024.jpeg 576w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-3-169x300.jpeg 169w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-3-768x1365.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-3-864x1536.jpeg 864w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-3.jpeg 1152w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><figcaption>Soldando la SD<\/figcaption><\/figure><\/div>\n\n\n\n<p>Al menos, aprovechamos el tiempo de otra manera: mejoramos el prototipo de papel a uno real, hecho digitalmente, que se puede ver a continuaci\u00f3n:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"745\" height=\"1024\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-5-1-745x1024.jpeg\" alt=\"\" class=\"wp-image-2259\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-5-1-745x1024.jpeg 745w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-5-1-218x300.jpeg 218w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-5-1-768x1056.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-5-1-1117x1536.jpeg 1117w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-5-1.jpeg 1489w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><\/figure>\n\n\n\n<p>Con este nuevo dise\u00f1o, ya sabiendo todo lo que lleva, empezamos a construir la caja contenedora de Babuino. Se hizo con madera de marqueter\u00eda. Est\u00e1 madera se cort\u00f3 siguiendo las medidas correspondientes.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-2-576x1024.jpeg\" alt=\"\" class=\"wp-image-2268\" width=\"310\" height=\"552\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-2-576x1024.jpeg 576w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-2-169x300.jpeg 169w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-2-768x1365.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-2-864x1536.jpeg 864w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-11-26-at-20.17.46-2.jpeg 1152w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><figcaption>Agujereando y lijando la madera<\/figcaption><\/figure><\/div>\n\n\n\n<p>Volviendo a los Sprites, se empezaron a hacer a mano. Para ellos, usamos la p\u00e1gina de apoyo\u00a0 <a href=\"https:\/\/javl.github.io\/image2cpp\/\">https:\/\/javl.github.io\/image2cpp\/<\/a>, que convierte las im\u00e1genes en c\u00f3digo monocolor. Por temas de memoria, estas im\u00e1genes tienen un tama\u00f1o limitado( 56&#215;56 ). Con la memoria SD, se podr\u00eda haber aprovechado el potencial de la pantalla, pero por temas de tiempo no ha podido ser. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"391\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/comp-1024x391.png\" alt=\"\" class=\"wp-image-2260\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/comp-1024x391.png 1024w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/comp-300x114.png 300w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/comp-768x293.png 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/comp-1536x586.png 1536w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/comp.png 1562w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Todos estos sprites se metieron en el c\u00f3digo, se ordenaron y se probaron. Calibramos sus posiciones y seguimos a\u00f1adiendo contenido. Para poder aprovechar todo el espacio de pantalla que ten\u00edamos desperdiciado, decidimos que nuestra criatura se mostrar\u00eda aleatoriamente por toda la pantalla cada segundo. Ha de decirse que esta opci\u00f3n aumenta la memoria ocupada por el programa, qued\u00e1ndonos tan solo un 20% para lo que nos quedaba.\u00a0<\/p>\n\n\n\n<p>Se a\u00f1adi\u00f3 el c\u00f3digo relativo a la m\u00fasica, que sonar\u00e1 cada vez que pulsemos un bot\u00f3n y su acci\u00f3n surta efecto, para indicarle al jugador que se ha ejecutado su orden.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.31.51-1024x768.jpeg\" alt=\"\" class=\"wp-image-2269\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.31.51-1024x768.jpeg 1024w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.31.51-300x225.jpeg 300w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.31.51-768x576.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.31.51-1536x1152.jpeg 1536w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.31.51.jpeg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Creando y metiendo la m\u00fasica<\/figcaption><\/figure>\n\n\n\n<p>Conectadas las dos pantallas y los botones, con todo el c\u00f3digo hecho, decidimos a\u00f1adir el sensor para hacer el juego. Consistir\u00e1 en que Babuino de saltos cuando se mueve la mano a una distancia determinada.\u00a0<\/p>\n\n\n\n<p>Para la alimentaci\u00f3n, se ha a\u00f1adido tambi\u00e9n una pila, para que el juego sea portable. Para usarla, hemos medido el amperaje de todos los componentes y hemos comprado una pila adecuada. Tambi\u00e9n, se ha a\u00f1adido un interruptor, para apagar y encender el juego cuando se desee. La funci\u00f3n de Apagar del men\u00fa no corta la alimentaci\u00f3n, solo deja una pantalla en blanco en la que no se puede hacer nada.<\/p>\n\n\n\n<p>Con todo esto hecho, nos qued\u00f3 todo conectado:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-1-1024x576.jpeg\" alt=\"\" class=\"wp-image-2270\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-1-1024x576.jpeg 1024w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-1-300x169.jpeg 300w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-1-768x432.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-1-1536x864.jpeg 1536w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-1.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Y lo metimos todo en la caja, que cerramos con silicona:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-576x1024.jpeg\" alt=\"\" class=\"wp-image-2271\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-576x1024.jpeg 576w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-169x300.jpeg 169w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-768x1365.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45-864x1536.jpeg 864w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.27.45.jpeg 1152w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure><\/div>\n\n\n\n<p>La caja puede abrirse por detr\u00e1s mediante una bisagra, para poder observar y retirar f\u00e1cilmente los componentes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PROTOTIPO FINAL (SOFTWARE)<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"557\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/CODIGO-1024x557.png\" alt=\"\" class=\"wp-image-2257\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/CODIGO-1024x557.png 1024w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/CODIGO-300x163.png 300w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/CODIGO-768x418.png 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/CODIGO-1536x835.png 1536w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/CODIGO.png 1554w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">LIBRER\u00cdAS<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li> <a href=\"https:\/\/github.com\/adafruit\/Adafruit_ILI9341\">https:\/\/github.com\/adafruit\/Adafruit_ILI9341<\/a> <\/li><li> <a href=\"https:\/\/github.com\/adafruit\/Adafruit-GFX-Library\">https:\/\/github.com\/adafruit\/Adafruit-GFX-Library<\/a> <\/li><li> <a href=\"https:\/\/github.com\/fdebrabander\/Arduino-LiquidCrystal-I2C-library\">https:\/\/github.com\/fdebrabander\/Arduino-LiquidCrystal-I2C-library<\/a> <\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">C\u00d3DIGO<\/h4>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"java\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#include &lt;LiquidCrystal_I2C.h&gt;\n#include \"SPI.h\"\n#include \"Adafruit_GFX.h\"\n#include \"Adafruit_ILI9341.h\"\n\n\/\/Define para Control\n#define umbral 0.5\n#define total 2.0\n\n\/\/Define para M\u00fasica\n#define LAG 146.000\n#define SIG 196.000\n#define DO 261.626 \n#define RE 293.665\n#define MI 330.628\n#define FA 349.228\n#define SOL 391.995 \n#define LA 440.000\n#define SI 493.883\n#define DO2 523.251\n#define DOS 554.37\n#define FAS  369.99\n#define REALTO 1174.66\n#define RES 622.25\n#define SOLS 415.30\n#define REMEDIO 578.33\n#define SILENCE 0.0\n#define MIALTO 659.26\n#define np 750\n#define n 500\n#define c 250\n#define s 125\n\n\/\/Define para Colores de los bitmap\n#define BLACK   0x0000\n#define WHITE   0xFFFF\n#define GREY    0xD6BA\n\n\/\/Define para Pines de la pantalla. Mosi, Miso y Sck trabajan con el bus SPI (pines 11 12 y 13) y no hace falta definirlos.\n#define TFT_DC 8\n#define TFT_CS 10\n#define TFT_RST 9\n\nLiquidCrystal_I2C lcd (0x3f,16,2);                                        \/\/Pantalla Arriba\n\nAdafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);         \/\/Pantalla Abajo\n\n\/\/Sistema\nfloat cont_hambre = total;\nfloat cont_suciedad = total;\nfloat cont_mimos = total;\nfloat cont_suenho = total;\nbool in_men_hambre = false;\nbool in_men_suciedad = false;\nbool in_men_mimos = false;\nbool in_men_suenho = false;\nint x;\nint y;\n\n\/\/Sprites del menu, convertidos de png a c\u00f3digo gracias a la web https:\/\/javl.github.io\/image2cpp\/\n\nstatic const uint8_t icon_comida &#091;] PROGMEM = {\n  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0xf0, 0x00, \n0x01, 0x80, 0x00, 0x00, 0x07, 0xf0, 0x00, 0x01, 0x80, 0x00, 0x00, 0x0f, 0xf0, 0x00, 0x01, 0x80, \n0x00, 0x00, 0x1f, 0xf0, 0x00, 0x01, 0x80, 0x00, 0x00, 0x1f, 0xf0, 0x00, 0x01, 0x80, 0x00, 0x00, \n0x3f, 0xf0, 0x00, 0x01, 0x80, 0x00, 0x00, 0x3f, 0xe0, 0x00, 0x01, 0x80, 0x00, 0x00, 0x7f, 0xe0, \n0x00, 0x01, 0x80, 0x00, 0x00, 0x7f, 0xc0, 0x00, 0x01, 0x80, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x01, \n0x80, 0x00, 0x00, 0x78, 0x00, 0x00, 0x01, 0x80, 0x00, 0xe0, 0x60, 0x0e, 0x00, 0x01, 0x80, 0x03, \n0xfc, 0x40, 0x7f, 0x80, 0x01, 0x80, 0x07, 0xff, 0x01, 0xff, 0xc0, 0x01, 0x80, 0x0f, 0xff, 0x87, \n0xff, 0xe0, 0x01, 0x80, 0x0f, 0xff, 0xff, 0xff, 0xe0, 0x01, 0x80, 0x1f, 0x1f, 0xff, 0xff, 0xf0, \n0x01, 0x80, 0x3e, 0x0f, 0xff, 0xff, 0xf8, 0x01, 0x80, 0x3c, 0x0f, 0xff, 0xff, 0xf8, 0x01, 0x80, \n0x38, 0x0c, 0xff, 0xff, 0xf8, 0x01, 0x80, 0x38, 0x08, 0xff, 0xff, 0xf8, 0x01, 0x80, 0x70, 0x1f, \n0xff, 0xff, 0xfc, 0x01, 0x80, 0x70, 0x1f, 0xff, 0xff, 0xfc, 0x01, 0x80, 0x70, 0x3f, 0xff, 0xff, \n0xfc, 0x01, 0x80, 0x78, 0x7f, 0xff, 0xff, 0xfc, 0x01, 0x80, 0x7f, 0xff, 0xff, 0xff, 0xfc, 0x01, \n0x80, 0x7f, 0xff, 0xff, 0xff, 0xfc, 0x01, 0x80, 0x7f, 0xff, 0xff, 0xff, 0xfc, 0x01, 0x80, 0x3f, \n0xff, 0xff, 0xff, 0xf8, 0x01, 0x80, 0x3f, 0xff, 0xff, 0xff, 0xf8, 0x01, 0x80, 0x1f, 0xff, 0xff, \n0xff, 0xf0, 0x01, 0x80, 0x0f, 0xff, 0xff, 0xff, 0xe0, 0x01, 0x80, 0x07, 0xff, 0xff, 0xff, 0xc0, \n0x01, 0x80, 0x07, 0xff, 0xff, 0xff, 0xc0, 0x01, 0x80, 0x03, 0xff, 0xff, 0xff, 0x80, 0x01, 0x80, \n0x01, 0xff, 0xff, 0xff, 0x00, 0x01, 0x80, 0x00, 0x7f, 0xff, 0xfc, 0x00, 0x01, 0x80, 0x00, 0x7f, \n0xff, 0xfc, 0x00, 0x01, 0x80, 0x00, 0x3f, 0xff, 0xf8, 0x00, 0x01, 0x80, 0x00, 0x0f, 0xff, 0xe0, \n0x00, 0x01, 0x80, 0x00, 0x03, 0xc7, 0x80, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, \n0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, \n\n};\n\nstatic const uint8_t icon_dormir &#091;] PROGMEM = {\n  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, \n0xff, 0xc0, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x03, \n0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xd8, 0x0f, 0xff, 0xff, \n0xff, 0xff, 0xff, 0xa4, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x04, 0x7f, 0xff, 0xff, 0xff, 0xff, \n0xfe, 0x2c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x39, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x03, \n0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x07, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x07, 0xff, 0xff, \n0x8f, 0xff, 0xff, 0xe0, 0x0f, 0xfe, 0x1f, 0x6f, 0xff, 0xff, 0xc0, 0x0f, 0xe1, 0xdf, 0xef, 0xff, \n0xff, 0xc0, 0x0f, 0xff, 0xbf, 0xdf, 0xff, 0xff, 0x80, 0x0f, 0xff, 0xbf, 0xc3, 0xff, 0xff, 0x80, \n0x27, 0xff, 0x7f, 0xff, 0xff, 0xff, 0x06, 0xc3, 0xff, 0x7b, 0xff, 0xff, 0xff, 0x01, 0x01, 0xfe, \n0xe7, 0xff, 0xff, 0xff, 0x00, 0x00, 0xfe, 0x1f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x7f, 0xff, 0xff, \n0xff, 0xfe, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xfe, \n0x24, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xfe, 0x42, 0x00, 0xff, 0xff, 0xff, 0xff, 0xfe, 0xc1, 0x01, \n0xff, 0xff, 0xff, 0xff, 0xfe, 0x81, 0x83, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x81, 0x83, 0xff, 0xff, \n0xff, 0xff, 0xfe, 0x43, 0x03, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x67, 0x03, 0xff, 0xff, 0xff, 0xff, \n0xfe, 0x3c, 0x03, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, \n0x03, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0xff, \n0xff, 0xfe, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xff, 0xff, 0x00, 0x00, 0x3f, 0xff, 0xe1, \n0xff, 0xff, 0x80, 0x00, 0x1f, 0xff, 0x03, 0xff, 0xff, 0xc0, 0x08, 0x07, 0xf8, 0x07, 0xff, 0xff, \n0xc0, 0x12, 0x00, 0x00, 0x07, 0xff, 0xff, 0xe0, 0x21, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xf0, 0x21, \n0x00, 0x00, 0x1f, 0xff, 0xff, 0xf8, 0x27, 0x00, 0x60, 0x3f, 0xff, 0xff, 0xfc, 0x3e, 0x00, 0x80, \n0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x43, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x0f, 0xff, 0xff, \n0xff, 0xff, 0x80, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, \n0xfe, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, \n0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, \n0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff\n\n};\n\nstatic const uint8_t icon_mimos &#091;] PROGMEM = {\n 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, \n0x81, 0xfc, 0x01, 0xfc, 0x00, 0x00, 0x01, 0x83, 0xfe, 0x03, 0xfe, 0x00, 0x00, 0x01, 0x87, 0xff, \n0x07, 0xff, 0x00, 0x00, 0x01, 0x8f, 0xff, 0x8f, 0xff, 0x80, 0x00, 0x01, 0x8f, 0xff, 0x8f, 0xff, \n0x80, 0x00, 0x01, 0x9f, 0xff, 0xdf, 0xff, 0xc0, 0x00, 0x01, 0x9f, 0xff, 0xdf, 0xff, 0xc0, 0x00, \n0x01, 0xbf, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x01, 0xbf, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x01, 0xbf, \n0xff, 0xff, 0xff, 0xe0, 0x00, 0x01, 0xbf, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x01, 0xbf, 0xff, 0xff, \n0xff, 0xe0, 0x00, 0x01, 0xbf, 0xff, 0xff, 0xff, 0xe1, 0xe1, 0xe1, 0xbf, 0xff, 0xff, 0xff, 0xe3, \n0xf3, 0xf1, 0xbf, 0xff, 0xff, 0xff, 0xe7, 0xff, 0xf9, 0x9f, 0xff, 0xff, 0xff, 0xc7, 0xff, 0xf9, \n0x8f, 0xff, 0xff, 0xff, 0x87, 0xff, 0xf9, 0x87, 0xff, 0xff, 0xff, 0x07, 0xff, 0xf9, 0x83, 0xff, \n0xff, 0xfe, 0x07, 0xff, 0xf9, 0x81, 0xff, 0xff, 0xfc, 0x07, 0xff, 0xf9, 0x80, 0xff, 0xff, 0xf8, \n0x07, 0xff, 0xf9, 0x80, 0x7f, 0xff, 0xf0, 0x03, 0xff, 0xf1, 0x80, 0x3f, 0xff, 0xe0, 0x01, 0xff, \n0xe1, 0x80, 0x1f, 0xff, 0xc0, 0x00, 0xff, 0xc1, 0x80, 0x0f, 0xff, 0x80, 0x00, 0x7f, 0x81, 0x80, \n0x07, 0xff, 0x00, 0x00, 0x3f, 0x01, 0x80, 0x03, 0xfe, 0x00, 0x00, 0x1e, 0x01, 0x80, 0x01, 0xfc, \n0x00, 0x00, 0x0c, 0x01, 0x80, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x70, 0x00, 0x00, \n0x00, 0x01, 0x80, 0x00, 0x20, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, \n0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff\n\n};\n\nstatic const uint8_t icon_duchar&#091;] PROGMEM = {\n  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xf8, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xfe, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x9f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x87, 0x1c, 0x00, 0x00, 0x00, 0x00, \n0x01, 0x83, 0xbe, 0x00, 0x00, 0x00, 0x00, 0x01, 0x81, 0xfe, 0x1f, 0xe0, 0x00, 0x00, 0x01, 0x80, \n0xfe, 0x7f, 0xf8, 0x00, 0x00, 0x01, 0x81, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x01, 0x81, 0xff, 0xff, \n0xff, 0x00, 0x00, 0x01, 0x81, 0xff, 0xff, 0xff, 0x00, 0x00, 0x01, 0x80, 0xff, 0xff, 0xff, 0x00, \n0x00, 0x01, 0x80, 0x3f, 0xff, 0xf8, 0x80, 0x00, 0x01, 0x80, 0x3f, 0xff, 0xe0, 0x40, 0x00, 0x01, \n0x80, 0x7f, 0xff, 0x80, 0x20, 0x00, 0x01, 0x80, 0x7f, 0xff, 0x00, 0x20, 0x00, 0x01, 0x80, 0xff, \n0xfc, 0x00, 0x10, 0x00, 0x01, 0x80, 0xff, 0xf8, 0x00, 0x08, 0x00, 0x01, 0x81, 0xff, 0xf0, 0x20, \n0x08, 0x00, 0x01, 0x81, 0xff, 0xe0, 0x10, 0x44, 0x00, 0x01, 0x81, 0xff, 0xc0, 0x10, 0x42, 0x00, \n0x01, 0x83, 0xff, 0x80, 0x08, 0x22, 0x00, 0x01, 0x83, 0xff, 0x00, 0x04, 0x11, 0x00, 0x01, 0x83, \n0xfc, 0x00, 0x04, 0x10, 0x80, 0x01, 0x83, 0xf8, 0x00, 0x02, 0x08, 0x40, 0x01, 0x83, 0xf0, 0x04, \n0x02, 0x08, 0x40, 0x01, 0x83, 0xc1, 0x04, 0x21, 0x04, 0x20, 0x01, 0x83, 0x80, 0x84, 0x20, 0x84, \n0x11, 0xf9, 0x83, 0x00, 0x82, 0x10, 0x82, 0x0b, 0x1d, 0x81, 0x00, 0x82, 0x08, 0x42, 0x04, 0x0f, \n0x80, 0x80, 0x41, 0x08, 0x42, 0x08, 0x07, 0x80, 0x80, 0x41, 0x04, 0x21, 0x08, 0x07, 0x80, 0x80, \n0x40, 0x84, 0x21, 0x18, 0x03, 0x80, 0x40, 0x20, 0x82, 0x10, 0x98, 0x03, 0x80, 0x40, 0x20, 0x42, \n0x10, 0x98, 0x03, 0x80, 0x40, 0x20, 0x42, 0x13, 0xfc, 0x03, 0x80, 0x20, 0x20, 0x21, 0x0f, 0xfe, \n0x07, 0x80, 0x20, 0x20, 0x20, 0x0e, 0x07, 0xff, 0x80, 0x20, 0x10, 0x10, 0x0c, 0x03, 0xff, 0x80, \n0x20, 0x10, 0x1f, 0x8c, 0x03, 0xff, 0x80, 0x20, 0x10, 0x3f, 0xcc, 0x03, 0xff, 0x80, 0x10, 0x10, \n0x38, 0xec, 0x03, 0xe3, 0x80, 0x10, 0x08, 0x60, 0x3c, 0x03, 0x81, 0x80, 0x10, 0x08, 0x40, 0x3e, \n0x03, 0x81, 0x80, 0x10, 0x08, 0x40, 0x3f, 0x07, 0x81, 0x80, 0x1e, 0x08, 0x40, 0x3f, 0xff, 0x81, \n0x80, 0x1f, 0xc3, 0xe0, 0x3f, 0x8f, 0x81, 0x80, 0x3b, 0xe7, 0xe0, 0x7f, 0x03, 0xa3, 0x80, 0x60, \n0x6e, 0xf0, 0xfe, 0x02, 0x0f, 0x80, 0x40, 0x30, 0x3e, 0x0c, 0x00, 0x03, 0x80, 0x40, 0x20, 0x1c, \n0x04, 0x00, 0x03, 0x80, 0x40, 0x20, 0x08, 0x00, 0x00, 0x03, 0x80, 0x40, 0x00, 0x00, 0x00, 0x00, \n0x03, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff \n\n};\n\nstatic const uint8_t icon_jugar &#091;] PROGMEM = {\n  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80, 0x07, 0xff, 0x00, 0x00, 0x00, 0x01, 0x80, 0x0f, \n0x07, 0xc0, 0x00, 0x00, 0x01, 0x80, 0x38, 0x00, 0xe0, 0x00, 0x00, 0x01, 0x80, 0x70, 0x00, 0x38, \n0x00, 0x00, 0x01, 0x80, 0xc0, 0x00, 0x0c, 0x00, 0x00, 0x01, 0x81, 0x8c, 0x0c, 0x0c, 0x00, 0x00, \n0x01, 0x83, 0x12, 0x12, 0x06, 0x00, 0x00, 0x01, 0x83, 0x11, 0x22, 0x06, 0x00, 0x00, 0x01, 0x86, \n0x09, 0x24, 0x06, 0x00, 0x00, 0x01, 0x86, 0x06, 0x18, 0x06, 0x00, 0x00, 0x01, 0x86, 0x00, 0x00, \n0x06, 0x00, 0x00, 0x01, 0x86, 0x00, 0x00, 0x06, 0x00, 0x00, 0x01, 0x86, 0x06, 0x18, 0x06, 0x00, \n0x00, 0x01, 0x86, 0x09, 0x24, 0x06, 0x00, 0x00, 0x01, 0x86, 0x11, 0x22, 0x03, 0x00, 0x00, 0x01, \n0x86, 0x12, 0x12, 0x03, 0x80, 0x00, 0x01, 0x86, 0x0c, 0x0c, 0x00, 0xc0, 0x00, 0x01, 0x86, 0x00, \n0x00, 0x00, 0xe0, 0x00, 0x01, 0x83, 0x00, 0x00, 0x00, 0x70, 0x00, 0x01, 0x83, 0x00, 0x00, 0x70, \n0x38, 0x00, 0x01, 0x83, 0x00, 0x00, 0x88, 0x1c, 0x00, 0x01, 0x81, 0x80, 0x00, 0x88, 0x0f, 0xf8, \n0x01, 0x80, 0xc0, 0x00, 0x88, 0x07, 0xfe, 0x01, 0x80, 0x78, 0x02, 0x70, 0x00, 0x07, 0x81, 0x80, \n0x3f, 0xff, 0x03, 0x80, 0x01, 0xc1, 0x80, 0x07, 0xff, 0x84, 0x40, 0x00, 0x61, 0x80, 0x00, 0x03, \n0xc4, 0x40, 0x00, 0x31, 0x80, 0x00, 0x01, 0xe4, 0x40, 0x00, 0x19, 0x80, 0x00, 0x01, 0xf3, 0x80, \n0x00, 0x0d, 0x80, 0x00, 0x03, 0xf8, 0x0e, 0x1c, 0x0d, 0x80, 0x00, 0x07, 0xbc, 0x1f, 0x3e, 0x07, \n0x80, 0x00, 0x07, 0x1e, 0x1f, 0x3e, 0x07, 0x80, 0x00, 0x0f, 0x0c, 0x1f, 0x3e, 0x07, 0x80, 0x00, \n0x1e, 0x0c, 0x0e, 0x1c, 0x07, 0x80, 0x00, 0x7c, 0x0c, 0x00, 0x00, 0x07, 0x80, 0x00, 0xf8, 0x0c, \n0x00, 0x00, 0x07, 0x80, 0x07, 0xf0, 0x0c, 0x0e, 0x1c, 0x0d, 0x80, 0x1f, 0xc0, 0x0c, 0x1f, 0x3e, \n0x0d, 0x80, 0x7f, 0x00, 0x0c, 0x1f, 0x3e, 0x19, 0x81, 0xfc, 0x00, 0x0c, 0x1f, 0x3e, 0x19, 0x83, \n0xe0, 0x00, 0x0c, 0x0e, 0x1c, 0x31, 0x8f, 0x80, 0x00, 0x06, 0x00, 0x00, 0x31, 0x9f, 0x00, 0x00, \n0x06, 0x00, 0x00, 0x61, 0xbe, 0x00, 0x00, 0x03, 0x00, 0x00, 0xc1, 0xfc, 0x00, 0x00, 0x01, 0xc0, \n0x01, 0x81, 0xf8, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x01, 0xf0, 0x00, 0x00, 0x00, 0x38, 0x1e, 0x01, \n0xe0, 0x00, 0x00, 0x00, 0x1f, 0xf8, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x07, 0xe0, 0x01, 0xc0, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff \n\n};\n\nstatic const uint8_t icon_apagar &#091;] PROGMEM = {\n  0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x18, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x3c, 0x00, 0x00, \n0x01, 0x80, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x01, 0x80, \n0x00, 0x00, 0x7e, 0x00, 0x00, 0x01, 0x80, 0x03, 0xc0, 0x7e, 0x03, 0xc0, 0x01, 0x80, 0x07, 0xe0, \n0x7e, 0x07, 0xf0, 0x01, 0x80, 0x0f, 0xf0, 0x7e, 0x0f, 0xf8, 0x01, 0x80, 0x1f, 0xf0, 0x7e, 0x0f, \n0xfc, 0x01, 0x80, 0x3f, 0xe0, 0x7e, 0x07, 0xfe, 0x01, 0x80, 0x7f, 0xc0, 0x7e, 0x03, 0xfe, 0x01, \n0x80, 0xff, 0x00, 0x7e, 0x00, 0xff, 0x01, 0x80, 0xfe, 0x00, 0x7e, 0x00, 0x7f, 0x01, 0x80, 0xfc, \n0x00, 0x7e, 0x00, 0x3f, 0x01, 0x81, 0xfc, 0x00, 0x7e, 0x00, 0x3f, 0x81, 0x81, 0xf8, 0x00, 0x7e, \n0x00, 0x1f, 0x81, 0x81, 0xf8, 0x00, 0x7e, 0x00, 0x1f, 0x81, 0x81, 0xf8, 0x00, 0x7e, 0x00, 0x1f, \n0x81, 0x83, 0xf0, 0x00, 0x3c, 0x00, 0x0f, 0xc1, 0x83, 0xf0, 0x00, 0x3c, 0x00, 0x0f, 0xc1, 0x83, \n0xf0, 0x00, 0x00, 0x00, 0x0f, 0xc1, 0x83, 0xf0, 0x00, 0x00, 0x00, 0x0f, 0xc1, 0x83, 0xf0, 0x00, \n0x00, 0x00, 0x0f, 0xc1, 0x83, 0xf0, 0x00, 0x00, 0x00, 0x0f, 0xc1, 0x83, 0xf0, 0x00, 0x00, 0x00, \n0x0f, 0xc1, 0x83, 0xf0, 0x00, 0x00, 0x00, 0x0f, 0xc1, 0x83, 0xf0, 0x00, 0x00, 0x00, 0x0f, 0xc1, \n0x81, 0xf8, 0x00, 0x00, 0x00, 0x1f, 0x81, 0x81, 0xfc, 0x00, 0x00, 0x00, 0x3f, 0x81, 0x81, 0xfc, \n0x00, 0x00, 0x00, 0x3f, 0x81, 0x80, 0xfe, 0x00, 0x00, 0x00, 0x7f, 0x01, 0x80, 0xff, 0x00, 0x00, \n0x00, 0xff, 0x01, 0x80, 0xff, 0x80, 0x00, 0x01, 0xff, 0x01, 0x80, 0x7f, 0xe0, 0x00, 0x07, 0xfe, \n0x01, 0x80, 0x7f, 0xf8, 0x00, 0x1f, 0xfe, 0x01, 0x80, 0x3f, 0xfe, 0x00, 0x7f, 0xfc, 0x01, 0x80, \n0x1f, 0xff, 0xff, 0xff, 0xf8, 0x01, 0x80, 0x1f, 0xff, 0xff, 0xff, 0xf8, 0x01, 0x80, 0x0f, 0xff, \n0xff, 0xff, 0xf0, 0x01, 0x80, 0x07, 0xff, 0xff, 0xff, 0xe0, 0x01, 0x80, 0x03, 0xff, 0xff, 0xff, \n0xc0, 0x01, 0x80, 0x01, 0xff, 0xff, 0xff, 0x80, 0x01, 0x80, 0x00, 0x7f, 0xff, 0xfe, 0x00, 0x01, \n0x80, 0x00, 0x1f, 0xff, 0xf8, 0x00, 0x01, 0x80, 0x00, 0x07, 0xff, 0xe0, 0x00, 0x01, 0x80, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff\n\n};\n\n\/\/Sprites de babuino\n\nstatic const uint8_t b_normal &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x07, 0xff, 0xc0, 0x00, 0x00, 0x00, 0xf0, 0x1f, 0xff, 0xf0, 0x1e, 0x00, 0x01, 0xf8, 0x7f, \n0xff, 0xf8, 0x3f, 0x00, 0x03, 0x0c, 0xff, 0xff, 0xfe, 0x61, 0x80, 0x06, 0x0d, 0xff, 0xff, 0xff, \n0x60, 0xc0, 0x06, 0x07, 0xff, 0xff, 0xff, 0xc0, 0xc0, 0x06, 0x07, 0xff, 0xff, 0xff, 0xc0, 0xc0, \n0x06, 0x07, 0xff, 0xff, 0xff, 0xc0, 0xc0, 0x06, 0x07, 0xf3, 0xff, 0x8f, 0xc0, 0xc0, 0x06, 0x07, \n0xe0, 0xfe, 0x07, 0xc0, 0xc0, 0x06, 0x07, 0xc0, 0x7c, 0x03, 0xc0, 0xc0, 0x06, 0x07, 0x8c, 0x10, \n0x63, 0xc0, 0xc0, 0x06, 0x07, 0x8c, 0x00, 0x63, 0xe0, 0xc0, 0x03, 0x07, 0x9e, 0x00, 0xf3, 0xe1, \n0x80, 0x03, 0x0f, 0x9e, 0x00, 0xf3, 0xe1, 0x80, 0x03, 0x1f, 0xcc, 0x00, 0x67, 0xf1, 0x80, 0x01, \n0xff, 0xe0, 0x00, 0x0f, 0xff, 0x00, 0x00, 0xff, 0xf0, 0x00, 0x1f, 0xfe, 0x00, 0x00, 0x3f, 0xfc, \n0x00, 0x7f, 0xf8, 0x00, 0x00, 0x3f, 0xff, 0x01, 0xff, 0xf0, 0x00, 0x00, 0x3f, 0xff, 0x81, 0xff, \n0xf0, 0x00, 0x00, 0x3f, 0xff, 0x83, 0xff, 0xf0, 0x00, 0x00, 0x1f, 0xff, 0xc3, 0xff, 0xf0, 0x00, \n0x08, 0x1f, 0xff, 0xc7, 0xff, 0xe0, 0x00, 0x1e, 0x1f, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x3f, 0x0f, \n0xff, 0xff, 0xff, 0xc0, 0x00, 0x7f, 0x87, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x7f, 0x07, 0xff, 0xff, \n0xff, 0x80, 0x00, 0x7a, 0x07, 0xff, 0xff, 0xff, 0x80, 0x00, 0x78, 0x0f, 0xff, 0xff, 0xff, 0x80, \n0x00, 0x78, 0x0f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x7c, 0x3f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x3f, \n0xfe, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x1f, 0xfc, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x0f, 0xf8, 0x7f, \n0xef, 0xfc, 0x00, 0x00, 0x07, 0xf0, 0x7f, 0xef, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xef, 0xf8, \n0x00, 0x00, 0x00, 0x00, 0x3f, 0xef, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xef, 0xf0, 0x00, 0x00, \n0x00, 0x00, 0x1f, 0xef, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xef, 0xe0, 0x00, 0x00, 0x00, 0x00, \n0x0f, 0xc7, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n\n};\n\nstatic const uint8_t b_hambre &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00, 0x06, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x0e, \n0x00, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x1c, 0x00, 0x00, 0x01, 0xff, 0xff, 0x00, 0x3c, 0x00, 0x00, \n0x01, 0xff, 0xff, 0x80, 0x78, 0x00, 0x00, 0x00, 0xff, 0x3f, 0x80, 0x78, 0x00, 0x00, 0x00, 0xf0, \n0x0f, 0xc0, 0x70, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xe0, 0x70, 0x00, 0x00, 0x00, 0x00, 0x07, 0xe0, \n0x78, 0x00, 0x00, 0x00, 0x00, 0x0b, 0xe0, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x0b, 0xe0, 0x7e, 0x00, \n0x00, 0x00, 0x00, 0x07, 0xe0, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xc0, 0x3f, 0xc0, 0x00, 0x00, \n0x00, 0x1f, 0xc0, 0x1f, 0xe0, 0x00, 0x00, 0x00, 0x1f, 0x80, 0x0f, 0xe0, 0x00, 0x00, 0x00, 0x3f, \n0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0x80, 0x00, 0x00, 0x00, \n0x00, 0x07, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x7f, \n0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x7d, 0xff, 0xff, 0xff, \n0xc7, 0x00, 0x00, 0xef, 0xe7, 0xff, 0xff, 0xfd, 0x80, 0x00, 0xc7, 0xe7, 0xff, 0xff, 0xf9, 0xc0, \n0x00, 0xc7, 0xc3, 0xff, 0xff, 0xf8, 0xe0, 0x00, 0x8f, 0xc3, 0xff, 0xff, 0xf8, 0xe0, 0x00, 0x8f, \n0xc3, 0xff, 0xff, 0xf8, 0xc0, 0x00, 0x8f, 0xe7, 0xff, 0xff, 0xf8, 0x40, 0x00, 0x8f, 0xff, 0xff, \n0xff, 0xf8, 0x40, 0x01, 0x8f, 0xff, 0xff, 0xff, 0xf0, 0x60, 0x00, 0x8f, 0xff, 0xff, 0xf7, 0xf8, \n0xe0, 0x01, 0x8f, 0xff, 0xff, 0xe3, 0xf0, 0xc0, 0x00, 0xcf, 0xff, 0xff, 0xe1, 0xf9, 0xc0, 0x00, \n0xff, 0xff, 0xff, 0xe1, 0xef, 0x80, 0x00, 0x39, 0xff, 0xff, 0xe3, 0xc0, 0x00, 0x00, 0x00, 0xff, \n0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xfe, \n0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x80, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \n\n};\n\nstatic const uint8_t b_suenho &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x01, 0xc1, 0xc0, 0x00, 0x00, 0x00, 0x07, 0x1f, 0xcf, 0xc0, 0x00, 0x00, \n0x00, 0x7e, 0x3d, 0xc8, 0xc0, 0x00, 0x00, 0x03, 0xfe, 0x01, 0x81, 0x80, 0x00, 0x00, 0x01, 0x8e, \n0x03, 0x81, 0x80, 0x00, 0x00, 0x00, 0x0c, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x03, 0x03, \n0xf0, 0x00, 0x00, 0x00, 0x1c, 0x03, 0x13, 0x80, 0x00, 0x00, 0x00, 0x1c, 0x07, 0xf8, 0x00, 0x00, \n0x00, 0x00, 0x38, 0x47, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x3b, 0xc4, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x3f, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xe1, 0xc0, 0x00, \n0x00, 0x00, 0x3f, 0xff, 0xf3, 0xe0, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xfe, 0x60, 0x00, 0x00, 0x00, \n0xff, 0xff, 0xfe, 0x30, 0x00, 0x00, 0x01, 0xff, 0xff, 0xfe, 0x30, 0x00, 0x00, 0x01, 0xff, 0xfc, \n0x0f, 0x30, 0x00, 0x00, 0x1b, 0xff, 0xf8, 0x07, 0x10, 0x00, 0x00, 0x3f, 0xff, 0xf0, 0x07, 0x90, \n0x00, 0x00, 0x6f, 0xc3, 0xe0, 0x07, 0x98, 0x00, 0x00, 0xc7, 0x80, 0x00, 0x03, 0x90, 0x00, 0x00, \n0xc7, 0x80, 0x00, 0x33, 0xd0, 0x00, 0x00, 0xc3, 0x00, 0x06, 0x63, 0xf0, 0x00, 0x00, 0xc3, 0x01, \n0x87, 0xe3, 0xe0, 0x00, 0x00, 0x83, 0x03, 0x00, 0x03, 0xc0, 0x00, 0x00, 0xc3, 0x3e, 0x00, 0x07, \n0xc0, 0x00, 0x00, 0xc3, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x63, 0x80, 0x00, 0x0f, 0xc0, 0x00, \n0x00, 0x3f, 0x80, 0x30, 0x0f, 0xc0, 0x00, 0x00, 0x1f, 0xc0, 0x30, 0x3f, 0x80, 0x00, 0x00, 0x0b, \n0xe0, 0x00, 0x3f, 0x80, 0x00, 0x00, 0x01, 0xfc, 0x00, 0x7f, 0x80, 0x00, 0x00, 0x01, 0xff, 0x87, \n0xff, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0x00, \n0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x07, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x0f, \n0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x1f, 0xc0, 0x7f, \n0xff, 0xff, 0x00, 0x00, 0x1f, 0x80, 0x7f, 0xff, 0xfe, 0x00, 0x00, 0x1f, 0x00, 0x7f, 0xf7, 0xfe, \n0x00, 0x00, 0x3f, 0x00, 0x7f, 0xe7, 0xfe, 0x00, 0x00, 0x1f, 0x80, 0x3f, 0xe7, 0xfc, 0x00, 0x00, \n0x1f, 0x80, 0x3f, 0xe3, 0xfc, 0x00, 0x00, 0x1f, 0xc0, 0x3f, 0xc3, 0xfc, 0x00, 0x00, 0x1f, 0xe0, \n0x1f, 0x83, 0xf8, 0x00, 0x00, 0x0f, 0xf0, 0x1f, 0x81, 0xf8, 0x00, 0x00, 0x07, 0xf0, 0x3f, 0x01, \n0xf0, 0x00, 0x00, 0x03, 0xe0, 0x3e, 0x01, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x00, 0xf8, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\n\n};\n\nstatic const uint8_t b_sucio &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x07, 0xc7, 0xc0, 0x00, 0x00, 0x00, 0xf0, 0x18, 0x47, 0xf0, 0x1e, 0x00, 0x01, 0xf8, 0x7e, \n0x0f, 0xf8, 0x3f, 0x00, 0x03, 0x0c, 0xff, 0x3f, 0xfe, 0x61, 0x80, 0x06, 0x0d, 0xff, 0xff, 0xcf, \n0x60, 0xc0, 0x06, 0x07, 0xff, 0xff, 0xcf, 0xc0, 0xc0, 0x06, 0x07, 0xff, 0xff, 0xef, 0xc0, 0xc0, \n0x06, 0x07, 0xff, 0xff, 0xff, 0xc0, 0xc0, 0x06, 0x07, 0xf3, 0xff, 0x8f, 0xc0, 0xc0, 0x06, 0x07, \n0xe0, 0xfe, 0x07, 0xc0, 0xc0, 0x06, 0x07, 0xc0, 0x7c, 0x03, 0xc0, 0xc0, 0x06, 0x07, 0x8c, 0x10, \n0x63, 0xc0, 0xc0, 0x06, 0x07, 0x8c, 0x00, 0x63, 0xe0, 0xc0, 0x03, 0x07, 0x9e, 0x00, 0xf3, 0xe1, \n0x80, 0x03, 0x0f, 0x9e, 0x00, 0xf3, 0xe1, 0x80, 0x03, 0x1f, 0xcc, 0x00, 0x67, 0xf1, 0x80, 0x01, \n0xff, 0xe0, 0x00, 0x0f, 0xff, 0x00, 0x00, 0xff, 0xf0, 0x00, 0x1f, 0xfe, 0x00, 0x00, 0x3f, 0xfc, \n0x00, 0x7f, 0xf8, 0x00, 0x00, 0x3f, 0xff, 0x01, 0xff, 0xf0, 0x00, 0x00, 0x3f, 0xff, 0x81, 0xff, \n0xf0, 0x00, 0x00, 0x3f, 0x9f, 0x83, 0xff, 0xf0, 0x00, 0x00, 0x1f, 0x8f, 0xc3, 0xc1, 0xf0, 0x00, \n0x00, 0x1f, 0xef, 0xc7, 0xc1, 0xe0, 0x60, 0x00, 0x1f, 0xef, 0xff, 0xc1, 0xe1, 0xf0, 0x00, 0x0f, \n0xeb, 0xff, 0xf9, 0xc3, 0xf8, 0x00, 0x07, 0xe3, 0xff, 0xf9, 0xc7, 0xfc, 0x00, 0x07, 0xe3, 0xff, \n0xf3, 0x83, 0xfc, 0x00, 0x03, 0xf7, 0xff, 0xe3, 0x81, 0x3c, 0x00, 0x03, 0xff, 0xff, 0xe3, 0xc0, \n0x7c, 0x00, 0x01, 0xff, 0xff, 0xe7, 0xc0, 0x7c, 0x00, 0x01, 0xff, 0xff, 0xff, 0xf0, 0xfc, 0x00, \n0x00, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x7f, \n0xef, 0xfc, 0xff, 0xe0, 0x00, 0x00, 0x7e, 0xef, 0xfc, 0x3f, 0xc0, 0x00, 0x00, 0x38, 0xef, 0xf8, \n0x00, 0x00, 0x00, 0x00, 0x3f, 0xef, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xef, 0xf0, 0x00, 0x00, \n0x00, 0x00, 0x1f, 0xef, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xef, 0xe0, 0x00, 0x00, 0x00, 0x00, \n0x0f, 0xc7, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\n\n};\n\nstatic const uint8_t b_muerto &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xc0, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x30, 0x00, 0x00, \n0x00, 0x00, 0x00, 0xc0, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x90, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x99, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x98, 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0xc0, \n0x18, 0x00, 0x07, 0x80, 0x00, 0x00, 0xc1, 0x18, 0x00, 0x07, 0x80, 0x00, 0x00, 0x73, 0x18, 0x1f, \n0xf0, 0x00, 0x00, 0x00, 0x30, 0x08, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x10, 0x29, 0xff, 0xc0, 0x00, \n0x00, 0x00, 0x18, 0x7b, 0xff, 0x00, 0x00, 0x00, 0x00, 0x19, 0x73, 0xfc, 0x00, 0x0f, 0x80, 0x00, \n0x0f, 0xe7, 0xf9, 0x0e, 0x0f, 0xe0, 0x00, 0x00, 0x0f, 0xf9, 0xdc, 0x1f, 0xe0, 0x00, 0x00, 0x0f, \n0xf0, 0x70, 0x1f, 0xf0, 0x00, 0x00, 0x1f, 0xe0, 0xf8, 0x1f, 0xf0, 0x00, 0x00, 0x1f, 0xf1, 0xce, \n0x1f, 0xf8, 0x00, 0x00, 0x1f, 0xf0, 0x80, 0x3f, 0xff, 0x0b, 0x00, 0x1f, 0xf8, 0x00, 0xff, 0xff, \n0xfb, 0x00, 0x3f, 0xfe, 0x03, 0xff, 0xff, 0xff, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, \n0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x3f, 0xff, \n0xff, 0xff, 0xff, 0xff, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x1f, 0xff, 0xff, 0xff, \n0xff, 0xff, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xf8, \n0x00, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00, 0x0f, \n0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x0e, 0x0f, 0xff, 0xff, 0xe1, 0xf8, 0x00, 0x18, 0x00, 0xff, \n0xff, 0x87, 0xfc, 0x00, 0x18, 0x00, 0x7f, 0xff, 0x1f, 0xfe, 0x00, 0x3c, 0x00, 0x3f, 0xff, 0xff, \n0xfe, 0x00, 0x1c, 0x00, 0x3f, 0xff, 0xff, 0xfe, 0x00, 0x0e, 0x00, 0x3f, 0xff, 0xff, 0xbe, 0x00, \n0x0e, 0x00, 0x3f, 0xff, 0xfe, 0x3e, 0x00, 0x07, 0xa0, 0x7c, 0x0f, 0xfc, 0x7e, 0x00, 0x03, 0xff, \n0x78, 0x07, 0xe1, 0xfe, 0x00, 0x00, 0xff, 0xe0, 0x00, 0x07, 0xfe, 0x00, 0x00, 0x3f, 0xc0, 0x00, \n0x07, 0xfe, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x07, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xf8, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n\n};\n\nstatic const uint8_t b_comer &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x0f, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x1c, 0x70, 0x00, 0x60, 0x00, 0x00, 0x00, 0x18, 0x30, 0x01, 0xf0, 0x00, 0x00, 0x00, \n0x18, 0x30, 0x01, 0xf0, 0x00, 0x00, 0x00, 0x30, 0x38, 0x01, 0xf0, 0x00, 0x00, 0x00, 0x70, 0x18, \n0x01, 0xf8, 0x00, 0x00, 0x01, 0xf0, 0x3e, 0x01, 0xf8, 0x00, 0xc0, 0x03, 0xf8, 0x3f, 0x00, 0xf8, \n0x00, 0xe0, 0x03, 0xf8, 0x3f, 0x80, 0xf8, 0x03, 0xc0, 0x03, 0xfc, 0xff, 0xc0, 0xfc, 0x07, 0x80, \n0x01, 0xc7, 0xff, 0xc0, 0x7c, 0x0f, 0x80, 0x80, 0x03, 0xff, 0xe0, 0x7e, 0x1f, 0x81, 0xc0, 0x01, \n0xff, 0xe0, 0x3e, 0x1f, 0x00, 0xc0, 0x01, 0xff, 0xf0, 0x3e, 0x3f, 0x00, 0xc1, 0xf0, 0xff, 0xf0, \n0x7e, 0x3f, 0x00, 0x00, 0x18, 0xff, 0xf8, 0x7e, 0x3f, 0x00, 0x00, 0x0c, 0xff, 0xf8, 0x7e, 0x3f, \n0x00, 0x00, 0x01, 0xff, 0xf8, 0x7e, 0x3f, 0x80, 0x70, 0x03, 0xff, 0xf8, 0x7e, 0x3f, 0xc0, 0x1f, \n0x03, 0xff, 0xf8, 0x7e, 0x1f, 0xe0, 0x5f, 0x87, 0xff, 0xf8, 0xfe, 0x1f, 0xf0, 0x05, 0xff, 0xff, \n0xf8, 0xfe, 0x0f, 0xfc, 0x00, 0xff, 0xff, 0xff, 0xfc, 0x07, 0xff, 0x27, 0xff, 0xff, 0xff, 0xfc, \n0x07, 0xff, 0x2f, 0xff, 0xff, 0xff, 0xf8, 0x01, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, \n0x3f, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x0f, 0xff, \n0xff, 0xfc, 0x00, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x07, 0xff, 0xff, 0x00, \n0x00, 0x00, 0x00, 0x03, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xfc, 0x00, 0x00, 0x00, \n0x00, 0x00, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x7f, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xf0, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xf0, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x07, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xf0, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x03, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, \n0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n\n};\n\nstatic const uint8_t b_duchar &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x38, 0x00, 0x03, 0x60, 0x00, \n0x00, 0x00, 0x6c, 0x00, 0x02, 0x20, 0x00, 0x00, 0x00, 0xc6, 0x00, 0x03, 0x60, 0x00, 0x00, 0x00, \n0x82, 0x00, 0x01, 0xc0, 0x00, 0x00, 0x00, 0xc6, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x6c, 0x00, \n0x00, 0x07, 0xfc, 0x00, 0x00, 0x38, 0x00, 0xf0, 0x1f, 0xfc, 0x00, 0x1e, 0x00, 0x01, 0xf8, 0x7f, \n0xfc, 0x00, 0x3f, 0x00, 0x03, 0x0c, 0xff, 0xfe, 0x00, 0x61, 0x80, 0x06, 0x0d, 0xff, 0xff, 0x00, \n0x60, 0xc0, 0x06, 0x07, 0xff, 0xff, 0x81, 0xc0, 0xc0, 0x06, 0x07, 0xff, 0xff, 0xe7, 0xc0, 0xc0, \n0x06, 0x07, 0xff, 0xff, 0xff, 0xc0, 0xc0, 0x06, 0x07, 0xf3, 0xff, 0x8f, 0xc0, 0xc0, 0x06, 0x07, \n0xe0, 0xfe, 0x07, 0xc0, 0xc0, 0x06, 0x07, 0xc0, 0x7c, 0x03, 0xc0, 0xc0, 0x06, 0x07, 0x8c, 0x10, \n0x63, 0xc0, 0xc0, 0x06, 0x07, 0x8c, 0x00, 0x63, 0xe0, 0xc0, 0x03, 0x07, 0x9e, 0x00, 0xf3, 0xe1, \n0x80, 0x03, 0x1f, 0x9e, 0x00, 0xf3, 0xe1, 0x80, 0x03, 0x7f, 0xcc, 0x00, 0x67, 0xf1, 0xb8, 0x01, \n0xc1, 0xe0, 0x00, 0x0f, 0xff, 0x6c, 0x01, 0x80, 0xf0, 0x00, 0x1f, 0xfe, 0xc6, 0x01, 0x00, 0x7c, \n0x00, 0x7f, 0xf8, 0x82, 0x01, 0x00, 0x7f, 0x01, 0xff, 0xf0, 0xc6, 0x00, 0x80, 0xff, 0x81, 0xff, \n0xf0, 0x6c, 0x00, 0xc1, 0xff, 0x83, 0xff, 0xf0, 0x38, 0x00, 0x77, 0xff, 0xc3, 0xff, 0xf0, 0x00, \n0x00, 0x1f, 0xff, 0xc7, 0xff, 0xe0, 0x00, 0x00, 0x1f, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x0f, \n0xfc, 0x7f, 0xff, 0xc0, 0x70, 0x00, 0x07, 0xf0, 0x1f, 0xff, 0xc1, 0xf8, 0x00, 0x07, 0xe0, 0x0f, \n0xff, 0x83, 0xfc, 0x00, 0x03, 0xc0, 0x07, 0xff, 0x81, 0xfe, 0x03, 0xc3, 0xc0, 0x07, 0xff, 0x81, \n0xff, 0x06, 0x61, 0xc0, 0x07, 0xff, 0xc0, 0x3e, 0x0c, 0x31, 0xe0, 0x0f, 0xff, 0xe0, 0x3e, 0x08, \n0x10, 0xf0, 0x1f, 0xff, 0xf0, 0x7e, 0x08, 0x10, 0xfc, 0x7f, 0xff, 0xff, 0xfe, 0x0c, 0x30, 0x7f, \n0xef, 0xfd, 0xff, 0xfc, 0x06, 0x60, 0x7f, 0xef, 0xfc, 0xff, 0xf0, 0x03, 0xc0, 0x3f, 0xef, 0xf8, \n0x3f, 0xe0, 0x00, 0x00, 0x3f, 0xef, 0xf8, 0x00, 0x80, 0x00, 0x00, 0x1f, 0xef, 0xf0, 0x00, 0x00, \n0x00, 0x00, 0x1f, 0xef, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xef, 0xe0, 0x00, 0x00, 0x00, 0x00, \n0x0f, 0xc7, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\n\n};\n\nstatic const uint8_t b_mimos &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x01, 0xc0, 0x00, 0x10, 0x3f, 0x80, 0x00, 0x19, \n0xc0, 0x00, 0x7c, 0x7f, 0xc0, 0x00, 0x3f, 0xe0, 0x00, 0xcf, 0xff, 0xf0, 0x00, 0x3f, 0xe0, 0x00, \n0xe1, 0xdf, 0xf0, 0x00, 0x3f, 0xe0, 0x00, 0x78, 0x1f, 0xf0, 0x00, 0x3f, 0xc0, 0x00, 0xf0, 0x0f, \n0xe0, 0x00, 0x1f, 0xc0, 0x01, 0x84, 0x07, 0x80, 0x00, 0x07, 0x80, 0x07, 0x0c, 0x06, 0x00, 0x00, \n0x03, 0x00, 0x0e, 0x18, 0x8e, 0x00, 0x00, 0x01, 0x00, 0x1e, 0x73, 0x1f, 0x00, 0x00, 0x00, 0x00, \n0x3e, 0xe3, 0x1f, 0x80, 0x00, 0x00, 0x1c, 0x7f, 0xe3, 0x3f, 0xc2, 0x00, 0x00, 0x36, 0x7f, 0xff, \n0x7f, 0xc7, 0x00, 0x00, 0x23, 0xff, 0xff, 0xff, 0xe8, 0x80, 0x00, 0x21, 0xfe, 0xff, 0xe3, 0xf8, \n0x80, 0x00, 0x21, 0xf0, 0x3f, 0x81, 0xf0, 0x80, 0x00, 0x21, 0xe0, 0x1f, 0x00, 0xf0, 0x80, 0x00, \n0x21, 0xe0, 0x00, 0x00, 0x70, 0x80, 0x00, 0x21, 0xe1, 0x80, 0x18, 0x70, 0x80, 0x00, 0x21, 0xe2, \n0x40, 0x24, 0x70, 0x80, 0x00, 0x21, 0xe4, 0x20, 0x42, 0x70, 0x80, 0x00, 0x11, 0xe0, 0x00, 0x00, \n0x71, 0x00, 0x00, 0x11, 0xf0, 0x00, 0x00, 0xf1, 0x00, 0x00, 0x11, 0xf0, 0x00, 0x01, 0xf1, 0x00, \n0x00, 0x0d, 0xf8, 0x00, 0x03, 0xf6, 0x00, 0x00, 0x0f, 0xfc, 0x0c, 0x0f, 0xfe, 0x00, 0x00, 0x07, \n0xfe, 0x0c, 0x1f, 0xfc, 0x00, 0x00, 0x01, 0xff, 0x80, 0x3f, 0xf0, 0x00, 0x00, 0x01, 0xff, 0xc0, \n0x7f, 0xf0, 0x00, 0x00, 0x00, 0xff, 0xe1, 0xff, 0xe1, 0xc0, 0x3e, 0x00, 0xff, 0xff, 0xff, 0xc3, \n0xd8, 0x3f, 0x01, 0xff, 0xff, 0xff, 0xc3, 0xfc, 0x3f, 0x83, 0xff, 0xff, 0xff, 0x83, 0xfc, 0x3f, \n0xcf, 0xff, 0xff, 0xff, 0x81, 0xfc, 0x1f, 0xef, 0xff, 0xff, 0xff, 0x81, 0xf8, 0x0f, 0xff, 0xff, \n0xff, 0xff, 0x80, 0xe0, 0x07, 0xff, 0xff, 0xff, 0xff, 0x80, 0x80, 0x03, 0xff, 0x3f, 0xff, 0xff, \n0x80, 0x00, 0x01, 0xfc, 0x3f, 0xff, 0xff, 0x80, 0x00, 0x00, 0x40, 0x3f, 0xfb, 0xff, 0x80, 0x00, \n0x00, 0x00, 0x3f, 0xfb, 0xff, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xfb, 0xff, 0x00, 0x00, 0x00, 0x00, \n0x0f, 0xf1, 0xff, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xe1, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x07, 0xe0, \n0xfe, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xc0, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x80, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \n\n};\n\nstatic const uint8_t b_quieromimos &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0xc7, 0x80, 0x00, 0x00, 0x00, 0x00, 0x01, 0xed, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xb8, 0x7c, \n0x00, 0x00, 0x00, 0x00, 0x0b, 0x38, 0x05, 0xe0, 0x00, 0x00, 0x00, 0x08, 0x00, 0x0f, 0xc0, 0x00, \n0x00, 0x00, 0x08, 0x79, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x38, 0x7f, 0xe1, 0x80, 0x00, 0x00, 0x00, \n0xe0, 0xff, 0xf1, 0x80, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xf0, 0x80, 0x00, 0x00, 0x00, 0x60, 0xff, \n0xf0, 0xc0, 0x00, 0x00, 0x00, 0x20, 0x7f, 0xe0, 0xc0, 0x00, 0x00, 0x00, 0x20, 0x3f, 0xc1, 0x80, \n0x00, 0x00, 0x00, 0x60, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0x60, 0x06, 0x01, 0x80, 0x00, 0x00, \n0x00, 0x38, 0x00, 0x03, 0xc0, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x06, \n0xf9, 0x7f, 0x80, 0x00, 0x00, 0x00, 0x07, 0xff, 0xe7, 0x80, 0x00, 0x00, 0x00, 0x06, 0x07, 0xc0, \n0x40, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x80, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xf0, \n0x00, 0x00, 0x00, 0x00, 0x0e, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x36, 0x7f, 0xff, 0x00, 0x00, \n0x00, 0x00, 0x7a, 0x1f, 0xff, 0x80, 0x00, 0x00, 0x00, 0xfb, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x10, \n0xfb, 0x3f, 0xff, 0xc0, 0x00, 0x00, 0x39, 0xe6, 0xff, 0xff, 0xe6, 0x00, 0x00, 0x65, 0xfd, 0xff, \n0xff, 0xef, 0x00, 0x00, 0xe7, 0xfd, 0xff, 0xff, 0xff, 0x00, 0x00, 0xc3, 0xff, 0xff, 0xff, 0xf9, \n0x80, 0x00, 0xc3, 0xff, 0xff, 0xff, 0xf1, 0x80, 0x00, 0xc3, 0xf0, 0xff, 0x8f, 0xf1, 0xc0, 0x00, \n0xc3, 0xe0, 0x3e, 0x07, 0xf1, 0xc0, 0x00, 0xe3, 0xe0, 0x00, 0x11, 0xf1, 0x80, 0x00, 0x67, 0xec, \n0x00, 0x39, 0xfb, 0x80, 0x00, 0x3f, 0xe7, 0x80, 0x71, 0xff, 0x80, 0x00, 0x1d, 0xe3, 0xc1, 0xf1, \n0xde, 0x00, 0x00, 0x00, 0xf3, 0xc1, 0xe3, 0xc0, 0x00, 0x00, 0x00, 0xf1, 0xc1, 0x87, 0xc0, 0x00, \n0x00, 0x00, 0xf8, 0x00, 0x0f, 0xc0, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x1f, 0xc0, 0x00, 0x00, 0x00, \n0x7e, 0x00, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x7f, 0x9c, 0xff, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xc0, \n0xff, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x80, 0xff, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x7f, 0x00, \n0x00, 0x00, 0x00, 0x1f, 0x00, 0x7e, 0x00, 0x00\n\n};\nstatic const uint8_t b_juego &#091;] PROGMEM= {\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xc0, \n0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x00, 0x00, \n0x00, 0x01, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x01, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x03, \n0xff, 0xff, 0xfc, 0x00, 0x00, 0x00, 0x07, 0xfb, 0xf0, 0x0c, 0x00, 0x00, 0x00, 0x07, 0xf1, 0xf0, \n0x0e, 0x00, 0x00, 0x00, 0x07, 0xe0, 0xe0, 0x06, 0x00, 0x00, 0x00, 0x0f, 0xe0, 0xe0, 0x63, 0x00, \n0x00, 0x1e, 0x0f, 0xe0, 0x60, 0xf0, 0x00, 0x00, 0x3f, 0x0f, 0xe0, 0x60, 0xf0, 0x00, 0x00, 0x3f, \n0x1f, 0xe0, 0x70, 0xf0, 0x00, 0x00, 0x3f, 0x1f, 0xe0, 0x70, 0x60, 0x00, 0x00, 0x3f, 0x1f, 0xf0, \n0x70, 0x00, 0xc0, 0x00, 0x1f, 0x9f, 0xf0, 0xf8, 0x00, 0xc0, 0x00, 0x0f, 0x9f, 0xfd, 0xfc, 0x00, \n0xc0, 0x00, 0x0f, 0x9f, 0xff, 0xff, 0x80, 0x00, 0x00, 0x0f, 0x9f, 0xff, 0xff, 0xf0, 0x00, 0x00, \n0x0f, 0x9f, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x0f, 0x9f, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x1f, 0x9f, \n0xff, 0xff, 0xfc, 0x00, 0x00, 0x1f, 0x0f, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x1f, 0x0f, 0xff, 0xff, \n0xff, 0x00, 0x00, 0x1f, 0x0f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x1f, 0x0f, 0xff, 0xff, 0xfe, 0x00, \n0x00, 0x1f, 0x0f, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x1f, 0xbf, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x1f, \n0xff, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x0f, 0xff, 0xff, \n0xff, 0xf0, 0x00, 0x00, 0x0f, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x07, 0xfc, 0xff, 0xff, 0xc0, \n0x00, 0x00, 0x01, 0xf8, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xc0, 0x00, 0x00, \n0x00, 0x00, 0x3f, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x00, \n0x1f, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xff, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0xf0, 0x00, \n0x00, 0x00, 0x00, 0x03, 0xff, 0xf0, 0x00, 0x00 \n  \n  };\nstatic const uint8_t b_dormir &#091;] PROGMEM = {\n  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x38, 0x00, \n0x00, 0x00, 0x00, 0xe3, 0xf9, 0xf8, 0x00, 0x00, 0x00, 0x0f, 0xc7, 0xb9, 0x18, 0x00, 0x00, 0x00, \n0x7f, 0xc0, 0x30, 0x30, 0x00, 0x00, 0x00, 0x31, 0xc0, 0x70, 0x30, 0x00, 0x00, 0x00, 0x01, 0x80, \n0x60, 0x20, 0x00, 0x00, 0x00, 0x01, 0x80, 0x60, 0x7e, 0x00, 0x00, 0x00, 0x03, 0x80, 0xe2, 0x70, \n0x00, 0x00, 0x00, 0x03, 0x80, 0xff, 0x00, 0x00, 0x00, 0x00, 0x07, 0x08, 0xf8, 0x00, 0x00, 0x00, \n0x00, 0x07, 0x78, 0x80, 0x00, 0x00, 0x00, 0x00, 0x07, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, \n0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x0f, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xfc, 0x00, 0x00, 0x00, \n0x00, 0x7f, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x01, 0xff, \n0xff, 0xff, 0x80, 0x00, 0x01, 0xf3, 0xff, 0xff, 0xff, 0xdf, 0x00, 0x03, 0x9f, 0xff, 0xff, 0xff, \n0xff, 0x80, 0x03, 0x1f, 0xff, 0xff, 0xff, 0xf1, 0x80, 0x02, 0x0f, 0xff, 0xff, 0xff, 0xf1, 0x80, \n0x02, 0x0f, 0xff, 0xff, 0xff, 0xf0, 0x80, 0x02, 0x0f, 0xff, 0xff, 0xff, 0xf0, 0x80, 0x02, 0x0f, \n0xff, 0xff, 0xff, 0xf0, 0x80, 0x02, 0x0f, 0xff, 0xff, 0xff, 0xf0, 0xc0, 0x02, 0x0f, 0xff, 0xff, \n0xff, 0xf0, 0x80, 0x03, 0x0f, 0xff, 0xff, 0xff, 0xf9, 0x80, 0x03, 0x9f, 0xff, 0xff, 0xff, 0xf9, \n0x80, 0x01, 0xdf, 0xff, 0xff, 0xff, 0xfb, 0x80, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, \n0x0f, 0xff, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x07, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x03, 0xff, \n0xff, 0xff, 0xc0, 0x40, 0x00, 0x01, 0xff, 0xff, 0xff, 0xc3, 0xfc, 0x00, 0x00, 0xff, 0xff, 0xff, \n0xef, 0xfe, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x3f, 0xff, 0xff, 0xff, 0xff, \n0x00, 0x00, 0x0f, 0xff, 0xbf, 0xff, 0xff, 0x00, 0x00, 0x00, 0xfc, 0x1f, 0xfe, 0xfe, 0x00, 0x00, \n0x00, 0x00, 0x0f, 0xfc, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00\n\n};\n\n\/\/Iconos de contadores\nstatic const uint8_t cont_icon_hambre&#091;]PROGMEM = {0x03, 0x00, 0x07, 0x00, 0x04, 0x00, 0x3b, 0x80, 0x7f, 0xc0, 0x7f, 0xc0, 0x7f, 0xc0, 0x7f, 0xc0, \n0x7f, 0xc0, 0x3f, 0x80, 0x0e, 0x00\n};\n\nstatic const uint8_t cont_icon_suenho&#091;]PROGMEM = {0x07, 0x80, 0x0f, 0x00, 0x1e, 0x00, 0x3c, 0x00, 0x34, 0x00, 0x7e, 0x00, 0x3c, 0x00, 0x3c, 0x00, \n0x1e, 0x00, 0x0e, 0x00, 0x07, 0x80\n};\n\nstatic const uint8_t cont_icon_sucio&#091;]PROGMEM = {0xc4, 0x00, 0xfc, 0x00, 0x78, 0x00, 0x7a, 0x00, 0x70, 0x00, 0xc2, 0x80, 0x10, 0x00, 0x04, 0x00, \n0x00, 0x80, 0x15, 0x00, 0x00, 0x00\n};\n\nstatic const uint8_t cont_icon_mimos&#091;]PROGMEM = {0x00, 0x00, 0x00, 0x00, 0x31, 0x80, 0x7b, 0xc0, 0x7f, 0xc0, 0x3f, 0x80, 0x3f, 0x80, 0x1f, 0x00, \n0x0e, 0x00, 0x04, 0x00, 0x00, 0x00\n};\n\n\/\/M\u00fasica\nconst float comiendo&#091;] = {RE,LA,SILENCE,RE,LA,SILENCE,RE,LA};\nconst float delcomiendo&#091;] = {c,c,c,c,c,c,c,c};\nconst float ducha&#091;] = {SI,FA,SI,RE,DO,FA,LA,DO,SI};\nconst float delducha&#091;] = {c,c,c,c,c,c,c,c,c};\nconst float duerme&#091;] = {DO,RE,SI,LA,SOL,SILENCE,DO,RE,SOL,FAS,SILENCE,DO,RE,DO,SI,LA,SILENCE,LA,SOL,MI,RE};\nconst float delduerme&#091;] = {n,n,c,c,c,c,n,n,c,c,c,n,n,c,c,c,c,c,c,c,c};\nconst float dandomimos&#091;] = {SOL,SILENCE,SOL,DO2,SI,LA,SI,SILENCE,SOL,SILENCE,SOL,DO2,SI,LA,SI};\nconst float delmimos&#091;] = {s,s,s,c,c,c,c,c,s,s,s,c,c,c,c};\nconst float juguemos&#091;] = {RE,SOL,RE,SOL,RE,SOL,RE,SILENCE,RE,RE,DO,RE,DO,SIG,LAG};\nconst float deljuguemos&#091;] = {c,c,c,c,c,c,n,s,c,c,c,c,c,c,n,n};\nconst float requiem&#091;]={LA, MI ,DO ,LAG};\nconst float delrequiem&#091;]={c,c,c,c};\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/Pines\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/Men\u00fa\nint estado_actual = 0;\nint cont = 0;\n\n\/\/Timbre\n#define sonido 4\n\n\/\/Botones\n#define menu 7\n#define cancelar 5\n#define aceptar 2\nint menu_p, cancelar_p, aceptar_p;\n\n\/\/Sensor\n#define Trigger 6          \n#define Echo 3           \n\n\/\/Variables jugar\nint x0, y0;\nint w, h;\nlong t;                               \/\/Tiempo que demora en llegar el eco\nlong d;                               \/\/Distancia en centimetros\nint puntuacion;\nint i;\n\n\/\/Juego\nvoid JUGAR(){\n  int contj;\n  tft.fillScreen(ILI9341_WHITE);\n  tft.setTextSize(5);\n  tft.setTextColor(ILI9341_GREEN);\n  tft.setCursor(60,100);\n  tft.print(\"JUGAR\");\n  tft.setTextSize(2);\n  tft.setTextColor(ILI9341_BLACK);\n  tft.setCursor(10,150);\n  tft.print(\"Usa tu mano para saltar\");\n  tft.setCursor(10,170);\n  tft.print(\"El sensor derecho detecta tu movimiento\");\n  cantar(juguemos, deljuguemos, 15);\n  delay(2000);\n  puntuacion = 0;\n  while(cancelar_p == LOW){\n    \n    x0 = 300;\n    y0 =random(80)+120;\n    w = 20;\n    h = 20;\n    i=0;\n    \n    while(i&lt;15 &amp;&amp; cancelar_p==LOW){\n      x0=x0-20;\n      tft.fillScreen(ILI9341_WHITE);\n      digitalWrite(Trigger, HIGH);\n      delayMicroseconds(10);                    \/\/Enviamos un pulso de 10us\n      digitalWrite(Trigger, LOW);\n  \n       t = pulseIn(Echo, HIGH);                  \/\/Obtenemos el ancho del pulso\n       d = t\/59;    \n       Serial.print(\"\\n\");\n       Serial.print(d);\n       tft.fillScreen(ILI9341_WHITE);\n       tft.drawRect(x0, y0, w, h, ILI9341_RED);\n       tft.fillRect(x0, y0, w, h, ILI9341_RED);\n      if(d &lt;= 30 &amp;&amp; d&gt;7){\n        \/\/Saltar babuino\n        tft.drawBitmap(80,50,b_juego,56,56,BLACK);\n        if(x0==80){\n          puntuacion++;\n          lcd.clear();\n          lcd.setCursor(1,0);\n          lcd.print(\"PUNTUACION\");\n          lcd.setCursor (1,1);\n          lcd.print(puntuacion);\n        }\n        \/\/guardar posici\u00f3n \n      }else{\n        tft.drawBitmap(80,150,b_juego,56,56,BLACK);\n        if(x0==80){\n        tft.fillScreen(ILI9341_WHITE);\n        tft.setTextSize(5);\n        tft.setTextColor(ILI9341_RED);\n        tft.setCursor(30,100);\n        \n        tft.print(\"GAME OVER\");\n        cantar(requiem,delrequiem,4);\n        delay(1000);\n        return;\n        }\n      }\n      i++;\n      cancelar_p = digitalRead(cancelar);\n    }\n    \n    cancelar_p = digitalRead(cancelar);\n    if(cancelar_p==HIGH){\n      tone(sonido,DO);\n      delay(100);\n      noTone(sonido);\n    }\n                                \/\/Escalamos el tiempo a una distancia en cm\n    \n    \/\/Dibujar babuino\n    \/\/Dejamos que pueda reaccionar en 3 segundos\n    \n                                          \/\/if de si el arduino est\u00e1 tocando con el obst\u00e1culo, se sale\n  }\n}\n\nvoid cantar(float can&#091;], float del&#091;], int si){\n  for(int i = 0;i &lt; si;i++){\n    tone(sonido,round(can&#091;i]));\n    delay(del&#091;i]);\n  }\n  noTone(sonido);\n}\n\n\/\/Controla las variables en el terminal\nvoid control_var(){\n  Serial.print(cont_hambre);\n  Serial.print(\"     \");\n  Serial.print(cont_suciedad);\n  Serial.print(\"     \");\n  Serial.print(cont_mimos);\n  Serial.print(\"     \");\n  Serial.println(cont_suenho);\n}\n\n\/\/Muestra la opci\u00f3n del men\u00fa seleccionada\nvoid fMenu(int est){\n\n  tft.fillScreen(ILI9341_WHITE);\n  tft.drawBitmap(194,30,icon_duchar,56,56,GREY);\n  tft.drawBitmap(194,86,icon_mimos,56,56,GREY);\n  tft.drawBitmap(194,142,icon_apagar,56,56,GREY);\n  tft.drawBitmap(66,86,icon_dormir,56,56,GREY);\n  tft.drawBitmap(66,30,icon_comida,56,56,GREY);\n  tft.drawBitmap(66,142,icon_jugar,56,56,GREY);\n\n \/\/Mostrar Menu Correspondiente\n  switch (est){\n    \n    case 0:\n      lcd.clear();\n      lcd.setCursor(1,0);\n      lcd.print(\"MENU\");\n      lcd.setCursor (1,1);\n      lcd.print(\"APAGAR      \");\n      tft.drawBitmap(194,142,icon_apagar,56,56,BLACK);\n      break;\n    \n    case 1:\n      lcd.clear();\n      lcd.setCursor(1,0);\n      lcd.print(\"MENU\");\n      lcd.setCursor (1,1);\n      lcd.print(\"DAR DE COMER      \");\n      tft.drawBitmap(66,30,icon_comida,56,56,BLACK);\n      break;\n    \n    case 2:\n     lcd.clear();\n     lcd.setCursor(1,0);\n     lcd.print(\"MENU\");\n     lcd.setCursor (1,1);\n     lcd.print(\"DUCHAR      \");\n     tft.drawBitmap(194,30,icon_duchar,56,56,BLACK);\n     break;\n    \n    case 3:\n     lcd.clear();\n     lcd.setCursor(1,0);\n     lcd.print(\"MENU\");\n     lcd.setCursor (1,1);\n     lcd.print(\"ACOSTAR      \"); \n     tft.drawBitmap(66,86,icon_dormir,56,56,BLACK);\n     break;\n     \n    case 4:\n     lcd.clear();\n     lcd.setCursor(1,0);\n     lcd.print(\"MENU\");\n     lcd.setCursor (1,1);\n     lcd.print(\"DAR MIMOS      \");\n     tft.drawBitmap(194,86,icon_mimos,56,56,BLACK);\n     break;\n    \n    case 5:\n     lcd.clear();\n     lcd.setCursor(1,0);\n     lcd.print(\"MENU\");\n     lcd.setCursor (1,1);\n     lcd.print(\"JUGAR      \");\n     tft.drawBitmap(66,142,icon_jugar,56,56,BLACK);\n     break;  \n  }\n}\n\n\/\/Mostrar los sprites de acciones\nvoid cuidado(int est){\n  switch (est){\n\n    case 0: \n      tft.fillScreen(ILI9341_BLACK);\t\t\/\/Apagar\n\n      while(1){\n        tft.setTextSize(4);\n        tft.setTextColor(ILI9341_RED);\n        tft.setCursor(30,100);\n        tft.print(\"APAGA LA \");\n        tft.setCursor(30,200);\n        tft.print(\"ALIMENTACION \");\n       \tlcd.noBacklight();\n      }\n      break;\n    \n    case 1:\n      cont_hambre = total;\n      in_men_hambre = false;\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_comer,56,56,0);\n      cantar(comiendo,delcomiendo,8);\n\n      break;\n    \n    case 2:\n      cont_suciedad = total;\n      in_men_suciedad = false;\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_duchar,56,56,0);\n      cantar(ducha,delducha,9);\n    \n      break;\n    \n    case 3:\n      cont_suenho = total;\n      in_men_suenho = false;\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_dormir,56,56,0);\n      cantar(duerme,delduerme,21);\n     \n      break;\n    \n    case 4:\n      cont_mimos = total;\n      in_men_mimos = false;\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_mimos,56,56,0);\n      cantar(dandomimos,delmimos,15);\n\n      break;\n    \n    case 5:\n      JUGAR();\n      break; \n  }\n}\n\n\/\/Mostrar mensaje en pantalla peque\u00f1a\nvoid mensaje_arriba(String mensaje){\n\n  lcd.backlight();\n  lcd.clear();\n  lcd.setCursor(0,0);\n  lcd.print(mensaje);\n  \n  for(int i = 0; i &lt; 2;i++){\n      lcd.display();\n      delay(500);\n      lcd.noDisplay();\n      delay(500);\n  }\n  lcd.display();\n}\n\nvoid setup() {\n    Serial.begin(9600);\t\t\t\/\/inicializamos la comunicaci\u00f3n\n    pinMode(Trigger, OUTPUT); \t\t\/\/pin como salida\n    pinMode(Echo, INPUT);  \t\t\/\/pin como entrada\n    digitalWrite(Trigger, LOW);\t\t\/\/Inicializamos el pin con 0\n    Serial.begin(9600);\n\n    \/\/Configuraci\u00f3n Botones\n    pinMode(menu, INPUT);\n    pinMode(cancelar, INPUT);\n    pinMode(aceptar, INPUT);\n    \n    \/\/Configuraci\u00f3n Pantalla Arriba\n    lcd.init();\n    lcd.backlight();\n    lcd.clear();\n    \n    \/\/Configuraci\u00f3n Pantalla Abajo\n    tft.begin();\n    uint8_t x = tft.readcommand8(ILI9341_RDMODE);\n    Serial.print(\"Display Power Mode: 0x\"); Serial.println(x, HEX);\n    x = tft.readcommand8(ILI9341_RDMADCTL);\n    Serial.print(\"MADCTL Mode: 0x\"); Serial.println(x, HEX);\n    x = tft.readcommand8(ILI9341_RDPIXFMT);\n    Serial.print(\"Pixel Format: 0x\"); Serial.println(x, HEX);\n    x = tft.readcommand8(ILI9341_RDIMGFMT);\n    Serial.print(\"Image Format: 0x\"); Serial.println(x, HEX);\n    x = tft.readcommand8(ILI9341_RDSELFDIAG);\n    Serial.print(\"Self Diagnostic: 0x\"); Serial.println(x, HEX); \n    tft.setRotation(3);\n}\n\nvoid loop() {\n\n  \/\/Control variables\n  x = random(250);\n  y = random(200);\n  \n  if(x &lt; 50 &amp;&amp; y &lt; 70){\n    x = x + 50;\n    y = y + 70;\n  }\n  control_var();\n  \n  \/\/Asignaci\u00f3n de Botones\n  menu_p = digitalRead(menu);\n  cancelar_p = digitalRead(cancelar);\n  aceptar_p = digitalRead(aceptar);\n\n  \/\/Controles de Botones\n  if(menu_p == HIGH){\n    tone(sonido,round(MI));\n    delay(200);\n    noTone(sonido);\n    estado_actual = (cont % 6)+ 1;\n    cont++;\n    fMenu((cont % 6));  \n  }\n  \n  if((cancelar_p == HIGH)&amp;&amp;(!estado_actual == 0)){\n    tone(sonido,round(RE));\n    delay(200);\n    noTone(sonido);\n    estado_actual = 0;\n    cont = 0;\n    lcd.clear();\n  }\n  \n  if((aceptar_p == HIGH)&amp;&amp;(!estado_actual == 0)){\n    tone(sonido,round(SI));\n    delay(200);\n    noTone(sonido);\n    cuidado((cont % 6));    \n    estado_actual = 0;\n    cont = 0;\n  }\n  \n  if(estado_actual == 0){\n    cont_hambre = cont_hambre - 0.04;\n    cont_suciedad = cont_suciedad - 0.01;\n    cont_mimos = cont_mimos - 0.005;\n    cont_suenho = cont_suenho - 0.001;\n    \n    lcd.clear();\n    \n    if((cont_hambre &lt;= umbral)){\n  \n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_hambre,56,56,0);\n        \n        if(!in_men_hambre){\n            mensaje_arriba(\"TENGO HAMBRE  \");\n            in_men_hambre = true;\n        } \n        delay(1000);\n    }\n    \n    if((cont_suciedad &lt;= umbral)){\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_sucio,56,56,0);\n     \n        if(!in_men_suciedad){\n            mensaje_arriba(\"TENGO MUGRE  \");\n            in_men_suciedad = true;\n        }\n        delay(1000);\n    }\n    \n    if((cont_mimos &lt;= umbral)){\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_quieromimos,56,56,0);\n     \n        if(!in_men_mimos){\n            mensaje_arriba(\"QUIERO MIMOS  \");\n            in_men_mimos = true;\n        }\n        delay(1000);\n    }\n    \n    if((cont_suenho &lt;= umbral)){\n      \n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_suenho,56,56,0);\n    \n        if(!in_men_suenho){\n            mensaje_arriba(\"TENGO SUENO  \");\n            in_men_suenho = true;\n        } \n        delay(1000);\n    }\n    \n    if((cont_hambre &lt;= 0)||(cont_suciedad &lt;= 0)||(cont_mimos &lt;= 0)||(cont_suenho &lt;= 0)){\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_muerto,56,56,0);\n\n      while(1){\n          mensaje_arriba(\"HE MUERTO :'(  \");\n          menu_p = digitalRead(menu);\n          aceptar_p = digitalRead(aceptar);\n          if(aceptar_p == HIGH &amp;&amp; menu_p == HIGH){\n            mensaje_arriba(\"HE REVIVIDO :)\");\n            cont_hambre = total\/2;\n            cont_suciedad = total\/2;\n            cont_suenho = total\/2;\n            cont_mimos = total\/2;\n            break;\n          }\n      }\n    }\n    else{\n      \/\/Imprime bitmap\n      tft.fillScreen(ILI9341_WHITE);\n      tft.drawBitmap(x,y,b_normal,56,56,0);\n      \n      \/\/Imprime contadores\n      tft.setCursor(0,0);\n      tft.setTextColor(0x0000);\n      tft.setTextSize(1);\n      tft.setTextWrap(true);\n      \n      \/\/tft.print(\"Hambre:\");\n   \n      tft.drawBitmap(5,5,cont_icon_hambre,11,11,0);\n      tft.setCursor(20,5);\n      tft.print(cont_hambre\/total*100);\n    \n      \/\/tft.print(\"Suciedad:\");\n      \n      tft.drawBitmap(5,25,cont_icon_sucio,11,11,0);\n      tft.setCursor(20,25);\n      tft.print(cont_suciedad\/total*100);\n\n      \/\/tft.print(\"Mimos:\");\n      \n      tft.drawBitmap(5,45,cont_icon_mimos,11,11,0);    \n      tft.setCursor(20,45);\n      tft.print(cont_mimos\/total*100);\n      \n      \/\/tft.print(\"Sueno:\");\n       \n      tft.drawBitmap(5,65,cont_icon_suenho,11,11,0);         \n      tft.setCursor(20,65);\n      tft.print(cont_suenho\/total*100);\n      \n      delay(1000);\n    }\n  }\n}\n<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">FUNCIONALIDAD<\/h4>\n\n\n\n<p>Babuino tiene 4 caracter\u00edsticas principales: hambre, suciedad, sue\u00f1o y cari\u00f1o. Todas se muestra en la pantalla mediante un porcentaje y unos iconos. Si una de estas llega a 0, Babuino muere. Para evitar esto, se debe ir a la secci\u00f3n adecuada para rellenar la caracter\u00edstica. Cuando est\u00e1 a punto de acabarse, Babuino imprime un aviso en la pantalla superior y empieza a cambiar su sprite.<\/p>\n\n\n\n<p>Para llegar a esta secciones, hay un Men\u00fa que se puede navegar. Este tiene 6 opciones: Comer, Ducharse, Dormir, Dar Mimos, Jugar y Apagar. Cada uno de estos, rellena una caracter\u00edstica de Babuino. La secci\u00f3n Jugar consiste en un videojuego, donde Babuino tendr\u00e1 que saltar obst\u00e1culos dirigido por el movimiento de la mano del jugador. La secci\u00f3n Apagar deja la pantalla en blanco, impidiendo volver a usarlo hasta que se vuelve a encender. El resto de secciones muestran el sprite de la acci\u00f3n y vuelven a la pantalla principal.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PROTOTIPO FINAL (HARDWARE)<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.39.55-576x1024.jpeg\" alt=\"\" class=\"wp-image-2275\" width=\"573\" height=\"1019\" srcset=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.39.55-576x1024.jpeg 576w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.39.55-169x300.jpeg 169w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.39.55-768x1365.jpeg 768w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.39.55-864x1536.jpeg 864w, https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Image-2019-12-06-at-11.39.55.jpeg 1152w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">CONEXIONES<\/h4>\n\n\n\n<p><strong><em>PINES ANAL\u00d3GICOS<\/em><\/strong><\/p>\n\n\n\n<p><strong>LCD<\/strong>: Pines A4 y A5<\/p>\n\n\n\n<p><em><strong>PINES DIGITALES<\/strong><\/em><\/p>\n\n\n\n<p><strong>Pantalla<\/strong>: Pines 13 (SCK), 12 (MISO), 11 (MOSI). Todos estos componen el bus SPI. Tambi\u00e9n se usan los pines 10 (CS), 9 (RST) y 8 (DC).<\/p>\n\n\n\n<p><strong>Botones<\/strong>: Pines 7 (Men\u00fa), 5 (Cancelar) y 2 (Aceptar)<\/p>\n\n\n\n<p><strong>Altavoz<\/strong>: Pin 4<\/p>\n\n\n\n<p><strong>Sensor<\/strong>: Pin 6 (Trig) y 3 (Echo)<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">FUNCIONALIDAD DE LOS COMPONENTES<\/h4>\n\n\n\n<p>La <strong>pantalla de arriba<\/strong> nos muestra nuestra situaci\u00f3n en el juego y nos manda notificaciones<\/p>\n\n\n\n<p>La <strong>pantalla de abajo<\/strong> nos muestra el juego.<\/p>\n\n\n\n<p>Los <strong>3 botones<\/strong> (Menu, Cancelar, Aceptar, de izquierda a derecha) sirven para controlar el juego.<\/p>\n\n\n\n<p>El <strong>sensor<\/strong> (situado a la derecha de la caja) sirve para jugar al juego con Babuino.<\/p>\n\n\n\n<p>El <strong>altavoz<\/strong> (parte inferior) emite los sonidos del juego.<\/p>\n\n\n\n<p>El <strong>interruptor<\/strong> (parte superior) enciende y apaga la alimentaci\u00f3n.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">V\u00cdDEO DEMOSTRATIVO<\/h2>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"352\" style=\"aspect-ratio: 640 \/ 352;\" width=\"640\" controls src=\"https:\/\/blogs.etsii.urjc.es\/wp-content\/uploads\/sites\/8\/2019\/12\/WhatsApp-Video-2019-12-06-at-11.52.35.mp4\"><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">REFERENCIAS<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li> <a href=\"https:\/\/www.arduino.cc\/\">https:\/\/www.arduino.cc\/<\/a> <\/li><li> <a href=\"https:\/\/forum.arduino.cc\/\">https:\/\/forum.arduino.cc\/<\/a> <\/li><li> <a href=\"https:\/\/javl.github.io\/image2cpp\/\">https:\/\/javl.github.io\/image2cpp\/<\/a> <\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Antonio Robledinos Ant\u00f3n Celtia Mart\u00edn Garc\u00eda Daniel Mu\u00f1oz Rivera Jia Qi (Roc\u00edo) Chen Sun PREPROYECTO Como primera idea del proyecto, se decidi\u00f3 hacer un Tamagotchi convencional. Su nombre y el nombre del proyecto es&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2255,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-proyectos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Babuino, tu amigo en Arduino - Proyectos con Arduino.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Babuino, tu amigo en Arduino - Proyectos con Arduino.\" \/>\n<meta property=\"og:description\" content=\"Antonio Robledinos Ant\u00f3n Celtia Mart\u00edn Garc\u00eda Daniel Mu\u00f1oz Rivera Jia Qi (Roc\u00edo) Chen Sun PREPROYECTO Como primera idea del proyecto, se decidi\u00f3 hacer un Tamagotchi convencional. Su nombre y el nombre del proyecto es&#046;&#046;&#046;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/\" \/>\n<meta property=\"og:site_name\" content=\"Proyectos con Arduino.\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-06T11:01:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-06T11:01:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png\" \/>\n\t<meta property=\"og:image:width\" content=\"502\" \/>\n\t<meta property=\"og:image:height\" content=\"378\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Administrador de la red\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Administrador de la red\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"52 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/\"},\"author\":{\"name\":\"Administrador de la red\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/person\\\/bdc38fea664f13638d2a51f4d2fc7211\"},\"headline\":\"Babuino, tu amigo en Arduino\",\"datePublished\":\"2019-12-06T11:01:39+00:00\",\"dateModified\":\"2019-12-06T11:01:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/\"},\"wordCount\":1268,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/12\\\/MONO.png\",\"articleSection\":[\"Proyectos\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/\",\"name\":\"Babuino, tu amigo en Arduino - Proyectos con Arduino.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/12\\\/MONO.png\",\"datePublished\":\"2019-12-06T11:01:39+00:00\",\"dateModified\":\"2019-12-06T11:01:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/12\\\/MONO.png\",\"contentUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2019\\\/12\\\/MONO.png\",\"width\":502,\"height\":378},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/babuino-tu-amigo-en-arduino\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Babuino, tu amigo en Arduino\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#website\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/\",\"name\":\"Proyectos con Arduino.\",\"description\":\"Blog de proyectos de Arduino de alumnos de la URJC\",\"publisher\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#organization\",\"name\":\"Universidad Rey Juan Carlos\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2022\\\/05\\\/logourjc-1.jpg\",\"contentUrl\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/wp-content\\\/uploads\\\/sites\\\/8\\\/2022\\\/05\\\/logourjc-1.jpg\",\"width\":745,\"height\":288,\"caption\":\"Universidad Rey Juan Carlos\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/#\\\/schema\\\/person\\\/bdc38fea664f13638d2a51f4d2fc7211\",\"name\":\"Administrador de la red\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g\",\"caption\":\"Administrador de la red\"},\"sameAs\":[\"https:\\\/\\\/blogs.etsii.urjc.es\"],\"url\":\"https:\\\/\\\/blogs.etsii.urjc.es\\\/dseytr\\\/author\\\/etsiiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Babuino, tu amigo en Arduino - Proyectos con Arduino.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/","og_locale":"es_ES","og_type":"article","og_title":"Babuino, tu amigo en Arduino - Proyectos con Arduino.","og_description":"Antonio Robledinos Ant\u00f3n Celtia Mart\u00edn Garc\u00eda Daniel Mu\u00f1oz Rivera Jia Qi (Roc\u00edo) Chen Sun PREPROYECTO Como primera idea del proyecto, se decidi\u00f3 hacer un Tamagotchi convencional. Su nombre y el nombre del proyecto es&#46;&#46;&#46;","og_url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/","og_site_name":"Proyectos con Arduino.","article_published_time":"2019-12-06T11:01:39+00:00","article_modified_time":"2019-12-06T11:01:40+00:00","og_image":[{"width":502,"height":378,"url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png","type":"image\/png"}],"author":"Administrador de la red","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Administrador de la red","Tiempo de lectura":"52 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#article","isPartOf":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/"},"author":{"name":"Administrador de la red","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/person\/bdc38fea664f13638d2a51f4d2fc7211"},"headline":"Babuino, tu amigo en Arduino","datePublished":"2019-12-06T11:01:39+00:00","dateModified":"2019-12-06T11:01:40+00:00","mainEntityOfPage":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/"},"wordCount":1268,"commentCount":0,"publisher":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#organization"},"image":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png","articleSection":["Proyectos"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/","name":"Babuino, tu amigo en Arduino - Proyectos con Arduino.","isPartOf":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#primaryimage"},"image":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png","datePublished":"2019-12-06T11:01:39+00:00","dateModified":"2019-12-06T11:01:40+00:00","breadcrumb":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#primaryimage","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png","contentUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2019\/12\/MONO.png","width":502,"height":378},{"@type":"BreadcrumbList","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/babuino-tu-amigo-en-arduino\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/blogs.etsii.urjc.es\/dseytr\/"},{"@type":"ListItem","position":2,"name":"Babuino, tu amigo en Arduino"}]},{"@type":"WebSite","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#website","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/","name":"Proyectos con Arduino.","description":"Blog de proyectos de Arduino de alumnos de la URJC","publisher":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.etsii.urjc.es\/dseytr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#organization","name":"Universidad Rey Juan Carlos","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/logo\/image\/","url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2022\/05\/logourjc-1.jpg","contentUrl":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-content\/uploads\/sites\/8\/2022\/05\/logourjc-1.jpg","width":745,"height":288,"caption":"Universidad Rey Juan Carlos"},"image":{"@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blogs.etsii.urjc.es\/dseytr\/#\/schema\/person\/bdc38fea664f13638d2a51f4d2fc7211","name":"Administrador de la red","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e8e366128f81a82735b0b00fe6d280414b4bad087e380fa9fee9694454b8a6fa?s=96&d=mm&r=g","caption":"Administrador de la red"},"sameAs":["https:\/\/blogs.etsii.urjc.es"],"url":"https:\/\/blogs.etsii.urjc.es\/dseytr\/author\/etsiiadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts\/2254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/comments?post=2254"}],"version-history":[{"count":10,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts\/2254\/revisions"}],"predecessor-version":[{"id":2280,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/posts\/2254\/revisions\/2280"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/media\/2255"}],"wp:attachment":[{"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/media?parent=2254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/categories?post=2254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.etsii.urjc.es\/dseytr\/wp-json\/wp\/v2\/tags?post=2254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}