{"id":2046,"date":"2020-06-05T11:54:34","date_gmt":"2020-06-05T10:54:34","guid":{"rendered":"http:\/\/easycoding.tn\/?page_id=2046"},"modified":"2020-06-05T12:25:10","modified_gmt":"2020-06-05T11:25:10","slug":"serial-lcd-i2c","status":"publish","type":"page","link":"http:\/\/easycoding.tn\/index.php\/nodemcu\/tuniot-documentation\/display\/serial-lcd-i2c\/","title":{"rendered":"Serial LCD I2C"},"content":{"rendered":"<ul>\n<li><strong>Setup\u00a0 Serial LCD I2C<\/strong>:<br \/>\nEvery time you use the serial LCD I2C, you should call this block once. Put it in the setup part.<br \/>\nEvery Display has an address. You need to run the ScanI2C script to get it. You will find more in the video tutorial.<br \/>\nThe displays has different sizes. You need to put the right number of columns and rows.<br \/>\n<img loading=\"lazy\" class=\"alignnone size-medium wp-image-2048\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2020\/06\/SetupSerialLCD-300x31.jpg\" alt=\"\" width=\"300\" height=\"31\" srcset=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2020\/06\/SetupSerialLCD-300x31.jpg 300w, http:\/\/easycoding.tn\/wp-content\/uploads\/2020\/06\/SetupSerialLCD.jpg 458w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\nVideo tutorial: <a href=\"https:\/\/www.youtube.com\/watch?v=dUe2Fy4e7qc\" target=\"_blank\" rel=\"noopener\">The serial LCD I2C<\/a><\/li>\n<li><strong>LCD Print:<\/strong><br \/>\nDisplay a message in the display from the current position of the cursor.<br \/>\n<img loading=\"lazy\" class=\"alignnone size-full wp-image-2051\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2020\/06\/LCD-Print.jpg\" alt=\"\" width=\"245\" height=\"48\" \/><\/li>\n<li><strong>LCD Clear<\/strong>:<br \/>\nDelete (clear) all the text on the display.<\/li>\n<li><strong>LCD Home<\/strong>:<br \/>\nMove the cursor in the beginning of the display.<\/li>\n<li><strong>LCD set Cursor<\/strong>:<br \/>\nWill move the Cursor into a specific position.<br \/>\nIn this image, the position of character A is: Column 0 ; Row: 0<br \/>\nThe position of character a is: Column 0 ; Row: 1<br \/>\nThe position of character B is: Column 1 ; Row: 0<br \/>\nSo, numbering starts from 0.<br \/>\n<img loading=\"lazy\" class=\"alignnone size-medium wp-image-2053\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2020\/06\/LCD-300x136.jpg\" alt=\"\" width=\"300\" height=\"136\" srcset=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2020\/06\/LCD-300x136.jpg 300w, http:\/\/easycoding.tn\/wp-content\/uploads\/2020\/06\/LCD.jpg 500w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li><strong>LCD display<\/strong>:<br \/>\nTurns on the LCD display, after it&#8217;s been turned off with noDisplay().<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>LCD no display<\/strong>:<br \/>\nTurns off the LCD display, without losing the text currently shown on it.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Scroll display Left<\/strong>:<br \/>\nScrolls the contents of the display (text and cursor) one space to the left.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>Scroll display Right<\/strong>:<br \/>\nScrolls the contents of the display (text and cursor) one space to the Right.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setup\u00a0 Serial LCD I2C: Every time you use the serial LCD I2C, you should call this block once. Put it&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2044,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/2046"}],"collection":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/comments?post=2046"}],"version-history":[{"count":9,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/2046\/revisions"}],"predecessor-version":[{"id":2058,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/2046\/revisions\/2058"}],"up":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/2044"}],"wp:attachment":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/media?parent=2046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}