Project Six – LCD Demonstration

Introduction

Now it is time to demonstrate the LCD module and matching Grove units. With the LCD you can display data or messages within the two line, eight-character display. For this example, connect the wires from the following LCD sockets to the Grove Base Shield:
  • right-bottom to D1/2;
  • bottom-left to D3/4;
  • bottom-right to D5/6;
Now upload the following Arduino sketch:
// Project Six - LCD demonstration // #include <LiquidCrystal.h> LiquidCrystal lcd(1,2,3,4,5,6); void setup() { lcd.begin(8,2); } void loop() { lcd.clear(); lcd.setCursor(0,0); lcd.print("01234567"); lcd.setCursor(0,1); lcd.print("ABCDEFGH"); delay(65000); }
The lcd.clear() functions blanks the LCD screen; lcd.setCursor() moves the cursor to (column, row); and lcd.print(“”); writes text to the cursor position on the LCD.

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:
  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.
An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.
Happy hacking