/* Program to flash "HELLO" on LCD on Wytec EduBase/EduPad board * with Tiva TM4C123/MSP432. * The LCD controller is connected parallel in 4-bit data mode. * The connections are: * Pin 18 - Register select * Pin 35 - Enable * Pins 8, 13, 12, 11 - data 7-4 * Make sure the LCD interface selection jumper is set at "parallel". * * This program uses LiquidCrystal library. For details of libraries: * http://energia.nu/reference/libraries/ * * Energia 1.6.10E18 */ // include the library code: #include // initialize the library with the numbers of the interface pins LiquidCrystal lcd(18, 35, 11, 12, 13, 8); void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); } void loop() { // display the word lcd.print("HELLO"); delay(1000); // erase the word lcd.clear(); delay(1000); }