#include <LiquidCrystal.h>
// Pin configuration
const int rs = 12; // Register Select (RS)
const int en = 11; // Enable (EN)
const int d4 = 5; // Data 4 (D4)
const int d5 = 4; // Data 5 (D5)
const int d6 = 3; // Data 6 (D6)
const int d7 = 2; // Data 7 (D7)
// Create an LCD object
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
// Set up the LCD's number of columns and rows
lcd.begin(16, 2);
// Set the cursor to the first column of the first row
lcd.setCursor(0, 0);
// Print your name
lcd.print("HELLO WORLD ");
}
void loop() {
// Nothing to do in the loop for this example
}