/*
Basic Parallel LCD Demo
Shows basic wiring and writing to a parallel LCD module
7/4/2025 - Bump 3/8/26
*/
// include the library for a parallel LCD
#include <LiquidCrystal.h>
// pin constants for the LCD
const int RS = 12, EN = 11, D4 = 10, D5 = 9, D6 = 8, D7 = 7;
// create an LCD object called "lcd"
LiquidCrystal lcd(RS, EN, D4, D5, D6, D7);
void setup() {
// start serial
Serial.begin(9600);
// start LCD
lcd.begin(16, 2);
// print a message on the LCD
lcd.setCursor(2, 0);
lcd.print("Parallel LCD");
lcd.setCursor(1, 1);
lcd.print("Uses 6 uC pins");
}
void loop() {
// nothing to loop about...
}