/************************************************************************************************* PROGRAMMINFO ************************************************************************************************** Funktion: ESP32 Display-Test WayinTop 20x4 2004 LCD Display ************************************************************************************************** Version: 21.07.2021 ************************************************************************************************** Board: ESP32vn IoT UNO V1.0.4 ************************************************************************************************** C++ Arduino IDE V1.8.13 ************************************************************************************************** Einstellungen: https://dl.espressif.com/dl/package_esp32_index.json http://dan.drown.org/stm32duino/package_STM32duino_index.json https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json ************************************************************************************************** Librarys #include #include ************************************************************************************************** **************************************************************************************************/ #include #include LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 20 chars and 4 line display //=============================================================================== // Initialization //=============================================================================== void setup() { lcd.begin(); lcd.clear(); lcd.backlight(); // backlight on // Display Text lcd.setCursor(0,0); //Set cursor to character 0 on line 0 lcd.print("Hello World"); lcd.setCursor(0,1); //Move cursor to character 0 on line 1 lcd.print("Line 2"); lcd.setCursor(7,2); //Move cursor to character 6 on line 2 lcd.print("Line 3"); lcd.setCursor(14,3); //Move cursor to character 15 on line 3 lcd.print("Line 4"); } //=============================================================================== // Main //=============================================================================== void loop() { }