#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Initialiseer het LCD-scherm met het I2C-adres (meestal 0x27)
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// Start de LCD-bibliotheek met aantal kolommen en rijen
lcd.begin(16, 2);
// Zet de achtergrondverlichting aan
lcd.backlight();
// Schrijf een bericht op het LCD-scherm
lcd.setCursor(0, 0); // Zet de cursor op kolom 0, rij 0
lcd.print("Hello, World!");
lcd.setCursor(0, 1); // Zet de cursor op kolom 0, rij 1
lcd.print("I2C LCD Display");
}
void loop() {
// Niets te doen in de loop
}