/* METP0000 Library - Hello World Demonstrates the use a METP0000 LCD display. Based on LiquidCrystal library and examples by David A. Mellis, 18 Apr 2008 Limor Fried, 5 Jul 2009 Tom Igoe, 9 Jul 2009 & 22 Nov 2010 This version with a mish-mash of tests by Tony Wills Nov 2018 */ // include the library code: #include // Pin definitions byte N_SCK = 4; byte SI = 5; byte BUSY = 10; byte CS = 8; /* // Initialize the library with the interface pins METP0000 lcd(N_SCK, SI, BUSY, CS); // Alternative without BUSY pin //METP0000 lcd(N_SCK, SI, CS); void setup() { // set up the LCD's number of columns and rows: lcd.begin(6, 1); // Print a message to the LCD. lcd.print("he11o3"); lcd.home(); delay(1000); lcd.print("8.8.8.8.8.8."); //delay(2000); //lcd.home(); //lcd.print("123456"); delay(2000); for(int i=0; i<5; i++) { lcd.setBar(i); // lcd.setSegment(barArray[i]); delay(1000); } lcd.home(); String tmp1 = "The quick brown fox jumped over the lazy dog. "; lcd.print(tmp1); for(int i=0; i