{"id":321,"date":"2021-06-22T14:50:46","date_gmt":"2021-06-22T14:50:46","guid":{"rendered":"https:\/\/www.danibeltra.com\/?p=321"},"modified":"2021-06-22T15:39:45","modified_gmt":"2021-06-22T15:39:45","slug":"pantalla-lcd-con-arduino-mkr1400-y-conversor-de-niveles","status":"publish","type":"post","link":"https:\/\/www.danibeltra.com\/?p=321","title":{"rendered":"Pantalla LCD con Arduino MKR1400 y conversor de niveles."},"content":{"rendered":"<div class=\"d01b6de6d841a687c79c6c1b0fb3f31f\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({\r\n          google_ad_client: \"ca-pub-0255821013702972\",\r\n          enable_page_level_ads: true\r\n     });\r\n<\/script>\n<\/div>\n\n<p><strong>Materiales utilizados:<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Arduino MKR GSM 1400.<\/li><li>Pantalla LCD 16*2 con interfaz I2C.<\/li><li>Level Shifter (Conversor de niveles).<\/li><\/ul>\n\n\n\n<p><strong>Conexionado:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"983\" src=\"https:\/\/www.danibeltra.com\/wp-content\/uploads\/2021\/06\/Pantallai2cMkr1400_bb-1024x983.png\" alt=\"\" class=\"wp-image-322\" srcset=\"https:\/\/www.danibeltra.com\/wp-content\/uploads\/2021\/06\/Pantallai2cMkr1400_bb-1024x983.png 1024w, https:\/\/www.danibeltra.com\/wp-content\/uploads\/2021\/06\/Pantallai2cMkr1400_bb-300x288.png 300w, https:\/\/www.danibeltra.com\/wp-content\/uploads\/2021\/06\/Pantallai2cMkr1400_bb-768x738.png 768w, https:\/\/www.danibeltra.com\/wp-content\/uploads\/2021\/06\/Pantallai2cMkr1400_bb-1536x1475.png 1536w, https:\/\/www.danibeltra.com\/wp-content\/uploads\/2021\/06\/Pantallai2cMkr1400_bb-2048x1967.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Descripci\u00f3n de la aplicaci\u00f3n:<\/strong><\/p>\n\n\n\n<p>En cierta aplicaci\u00f3n, necesito mostrar mensajes al usuario, en el c\u00f3digo siguiente se configura y se muestra el mensaje \u00abHola Preel\u00bb.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;Wire.h>\r\n#include &lt;hd44780.h>                       \r\n#include &lt;hd44780ioClass\/hd44780_I2Cexp.h> \r\n\r\nhd44780_I2Cexp lcd; \r\n\r\nconst int LCD_COLS = 16;\r\nconst int LCD_ROWS = 2;\r\n\r\nvoid setup()\r\n{\r\nint status;\r\n\r\n\tstatus = lcd.begin(LCD_COLS, LCD_ROWS);\r\n\tif(status) \/\/ non zero status means it was unsuccesful\r\n\t{\r\n\t\thd44780::fatalError(status); \/\/ does not return\r\n\t}\r\n lcd.print(\"Hola Preel!\");\r\n}\r\n\r\nvoid loop() {}<\/code><\/pre>\n\n\n\n<div class=\"wp-block-file\"><a href=\"blob:https:\/\/www.danibeltra.com\/37eb2b4c-8950-4dbf-9916-8e0aec24dda9\" class=\"wp-block-file__button\" download>Descarga<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a href=\"blob:https:\/\/www.danibeltra.com\/2da5ad1c-2e39-4c34-901f-65aeba720d55\" class=\"wp-block-file__button\" download>Descarga<\/a><\/div>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Materiales utilizados: Arduino MKR GSM 1400. Pantalla LCD 16*2 con interfaz I2C. Level Shifter (Conversor de niveles). Conexionado: Descripci\u00f3n de la aplicaci\u00f3n: En cierta aplicaci\u00f3n, necesito mostrar mensajes al usuario, en el c\u00f3digo siguiente se configura y se muestra el mensaje \u00abHola Preel\u00bb.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=321"}],"version-history":[{"count":5,"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=\/wp\/v2\/posts\/321\/revisions"}],"predecessor-version":[{"id":327,"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=\/wp\/v2\/posts\/321\/revisions\/327"}],"wp:attachment":[{"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.danibeltra.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}