Arduino Microcontroller Workshop UMBC Institute of Electrical and Electronics Engineers Arduino at UMBC Sekar Kulandaivel sekark1@umbc.edu Week 4: LCD & Serial Technical Skills Series Presentation April 22nd – 23rd, 2014
Topics to Cover Reading a Data Sheet – LCM1602A Serial Communication with Arduino Fun with LCD’s!
Important Functions for LCD #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); lcd.begin(16, 2); lcd.print(“Hello”); lcd.noBlink(); lcd.blink(); lcd.noCursor(); lcd.cursor(); lcd.noDisplay(); lcd.display(); lcd.autoscroll(); lcd.noAutoscroll(); lcd.clear(); lcd.setCursor(0, 1); lcd.scrollDisplayRight(); lcd.scrollDisplayLeft(); lcd.rightToLeft(); lcd.leftToRight(); lcd.home(); Serial.begin(9600); Serial.write(“Hi there”); Serial.available(); Serial.read();